rpc-go/registry/registry.go

11 lines
233 B
Go
Raw Normal View History

2018-04-03 17:58:26 +09:00
package registry
import (
"git.loafle.net/commons/rpc-go/protocol"
)
type RPCInvoker interface {
HasMethod(method string) bool
2018-04-06 16:59:25 +09:00
Invoke(codec protocol.RegistryCodec, leadingParams ...interface{}) (result interface{}, err error)
2018-04-03 17:58:26 +09:00
}