func NewBlance() *Blance { return &Blance{ mserver: mserver.NewManager(), mclient: mclient.NewManager(), info: info.NewInfo(), } }
func NewCenter() *Center { flag.StringVar(&host, "host", "127.0.0.1", "blance host.") flag.StringVar(&port, "port", "8090", "blance port.") return &Center{ server: server.NewServer(), cmanager: mclient.NewManager(), } }