This commit is contained in:
Zack Guo 2017-05-02 22:12:00 +08:00
commit 72304ddb9b

View File

@ -274,6 +274,10 @@ func Handle(path string, handler func(Event)) {
DefaultEvtStream.Handle(path, handler)
}
func ResetHandlers() {
DefaultEvtStream.ResetHandlers()
}
func Loop() {
DefaultEvtStream.Loop()
}