ing
This commit is contained in:
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{}, "")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user