扩展获取node接口

This commit is contained in:
boyce
2020-11-30 11:56:03 +08:00
parent 5a21324f3b
commit 7b964b205e
5 changed files with 18 additions and 7 deletions

View File

@@ -11,7 +11,10 @@ func Init(chanCloseSig chan bool) {
closeSig=chanCloseSig
for _,s := range mapServiceName {
s.OnInit()
err := s.OnInit()
if err != nil {
panic(err)
}
}
}