补充http服务

This commit is contained in:
hongfeiduan
2019-01-27 23:06:47 +08:00
parent cd55825a90
commit 5bac2dc314
8 changed files with 192 additions and 44 deletions

View File

@@ -66,9 +66,8 @@ func (s *cserver) Start() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
service.InstanceServiceMgr().Start(s.exit, s.waitGroup)
cluster.InstanceClusterMgr().Start()
service.InstanceServiceMgr().Start(s.exit, s.waitGroup)
select {
case <-s.sigs: