rpc-go/registry/registry.go

11 lines
234 B
Go
Raw Permalink Normal View History

2018-08-22 09:04:25 +00:00
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)
}