重构并新增结点服务发现接口

This commit is contained in:
boyce
2020-10-17 20:05:56 +08:00
parent f60f4670c3
commit 8fc24a8653
7 changed files with 304 additions and 168 deletions

View File

@@ -38,7 +38,7 @@ type IModule interface {
type Module struct {
moduleId int64
parent IModule //父亲
self IModule //父亲
self IModule //自己
child map[int64]IModule //孩子们
mapActiveTimer map[*timer.Timer]interface{}
mapActiveCron map[*timer.Cron]interface{}