mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-05 04:47:37 +03:00
Show memory stats in debug
This commit is contained in:
parent
7b30815938
commit
c9226aeaaf
6 changed files with 60 additions and 1 deletions
|
@ -13,7 +13,7 @@ type JSONObject struct {
|
|||
linkedhashmap.Map[string, any]
|
||||
}
|
||||
|
||||
func (m *JSONObject) MarshalJSON() ([]byte, error) {
|
||||
func (m JSONObject) MarshalJSON() ([]byte, error) {
|
||||
buffer := new(bytes.Buffer)
|
||||
buffer.WriteString("{")
|
||||
items := m.Entries()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue