Add debug http server

This commit is contained in:
世界 committed 2023-06-07 20:45:25 +08:00
1 parent 98c2c439aa
commit e056d4502b
7 files changed
+73 -49

No files matched your search

+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"`