add debug mode

This commit is contained in:
2022-05-20 09:27:19 +08:00
parent 9065a12b99
commit 48bbc5b776
5 changed files with 59 additions and 9 deletions
+2
View File
@@ -41,6 +41,8 @@ type Server interface {
GetSequenceDe() func([]byte) (interface{}, error)
SetSequenceDe(func([]byte) (interface{}, error))
ShowError(bool)
DebugMode(bool)
IsDebugMode() bool
HeartbeatTimeoutSec() int64
SetHeartbeatTimeoutSec(int64)