支持优雅退出

This commit is contained in:
刘祥超
2020-10-28 11:19:06 +08:00
parent 0be8b78201
commit 1d6b0559e6
19 changed files with 238 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
package events
type Event = string
const (
EventQuit Event = "quit" // quit node gracefully
)