diff --git a/registry/registry.go b/registry/registry.go index f41936c..6d0a016 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -6,5 +6,5 @@ import ( type RPCInvoker interface { HasMethod(method string) bool - Invoke(codec protocol.RegistryCodec) (result interface{}, err error) + Invoke(codec protocol.RegistryCodec, leadingParams ...interface{}) (result interface{}, err error) }