ing
This commit is contained in:
parent
75eb81b53a
commit
61f8cae952
9
service/ContainerService.go
Normal file
9
service/ContainerService.go
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package service
|
||||||
|
|
||||||
|
type ContainerService struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (cs *ContainerService) State() (bool, error) {
|
||||||
|
|
||||||
|
return true, nil
|
||||||
|
}
|
|
@ -5,5 +5,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func RegisterRPC(rpcRegistry crr.RPCRegistry) {
|
func RegisterRPC(rpcRegistry crr.RPCRegistry) {
|
||||||
|
rpcRegistry.RegisterService(&ContainerService{}, "")
|
||||||
rpcRegistry.RegisterService(&DiscoveryService{}, "")
|
rpcRegistry.RegisterService(&DiscoveryService{}, "")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user