This commit is contained in:
crusader 2017-11-02 20:16:18 +09:00
parent fa62560a98
commit ba51f2800b

View File

@ -25,7 +25,9 @@ func init() {
func main() { func main() {
registry := cRPC.NewRegistry() registry := cRPC.NewRegistry()
registry.RegisterService(new(rpc.DiscoveryService), "") if err := registry.RegisterService(new(rpc.DiscoveryService), ""); nil != err {
panic(err)
}
s := server.New(*sockFile, registry) s := server.New(*sockFile, registry)