rpc-go/registry/registry.go
2018-08-22 18:04:25 +09:00

11 lines
234 B
Go

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