Merge pull request #139 from bentx/master

Expose ResetHandlers()
This commit is contained in:
Zack Guo 2017-04-08 21:45:21 +08:00 committed by GitHub
commit 78e78f78b9

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()
}