rpc-go/registry/registry.go

11 lines
203 B
Go
Raw 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
Invoke(codec protocol.RegistryCodec) (result interface{}, err error)
}