2017-12-04 11:59:11 +00:00
|
|
|
package service
|
|
|
|
|
|
|
|
import (
|
|
|
|
crr "git.loafle.net/commons_go/rpc/registry"
|
|
|
|
)
|
|
|
|
|
|
|
|
func RegisterRPC(rpcRegistry crr.RPCRegistry) {
|
2017-12-14 06:17:58 +00:00
|
|
|
rpcRegistry.RegisterService(&ConfigService{}, "")
|
|
|
|
rpcRegistry.RegisterService(&DataService{}, "")
|
|
|
|
rpcRegistry.RegisterService(&StateService{}, "")
|
2017-12-04 11:59:11 +00:00
|
|
|
}
|