12 lines
275 B
Go
12 lines
275 B
Go
package service
|
|
|
|
import (
|
|
crr "git.loafle.net/commons_go/rpc/registry"
|
|
)
|
|
|
|
func RegisterRPC(rpcRegistry crr.RPCRegistry) {
|
|
rpcRegistry.RegisterService(&ConfigService{}, "")
|
|
rpcRegistry.RegisterService(&DataService{}, "")
|
|
rpcRegistry.RegisterService(&StateService{}, "")
|
|
}
|