Add debug http server

This commit is contained in:
世界
2023-04-22 19:51:38 +08:00
parent ccb872a41e
commit f568bb9fe3
7 changed files with 73 additions and 49 deletions
+1
View File
@@ -7,6 +7,7 @@ import (
)
type DebugOptions struct {
Listen string `json:"listen,omitempty"`
GCPercent *int `json:"gc_percent,omitempty"`
MaxStack *int `json:"max_stack,omitempty"`
MaxThreads *int `json:"max_threads,omitempty"`