diff --git a/go/daemon/jsonrpc2/dispatcher.go b/go/daemon/jsonrpc2/dispatcher.go index 4d25ece..a06fbdb 100644 --- a/go/daemon/jsonrpc2/dispatcher.go +++ b/go/daemon/jsonrpc2/dispatcher.go @@ -79,7 +79,8 @@ type dispatcher struct { // value to dispatch RPC calls. The passed in value must be a pointer. All // exported methods which look like: // -// MethodName(context.Context, ParamType) (ResponseType, error) +// MethodName(context.Context, ...ParamType) (ResponseType, error) +// MethodName(context.Context, ...ParamType) error // // will be available via RPC calls. func NewDispatchHandler(i any) Handler {