Feature(API): logs and traffic support websocket

This commit is contained in:
Dreamacro
2019-07-12 15:44:12 +08:00
parent 7c6c147a18
commit f867f02546
2 changed files with 69 additions and 19 deletions

View File

@ -62,6 +62,11 @@ func Subscribe() observable.Subscription {
return sub
}
func UnSubscribe(sub observable.Subscription) {
source.UnSubscribe(sub)
return
}
func Level() LogLevel {
return level
}