rpc-go/registry/registry.go
crusader f9912b5cf0 ing
2018-04-06 16:59:25 +09:00

11 lines
233 B
Go

package registry
import (
"git.loafle.net/commons/rpc-go/protocol"
)
type RPCInvoker interface {
HasMethod(method string) bool
Invoke(codec protocol.RegistryCodec, leadingParams ...interface{}) (result interface{}, err error)
}