rpc-go/registry/registry.go

11 lines
233 B
Go
Raw Permalink Normal View History

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