This commit is contained in:
crusader 2017-12-08 21:02:05 +09:00
parent 75eb81b53a
commit 61f8cae952
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package service
type ContainerService struct {
}
func (cs *ContainerService) State() (bool, error) {
return true, nil
}

View File

@ -5,5 +5,6 @@ import (
)
func RegisterRPC(rpcRegistry crr.RPCRegistry) {
rpcRegistry.RegisterService(&ContainerService{}, "")
rpcRegistry.RegisterService(&DiscoveryService{}, "")
}