Update documentation on jsonrpc2.NewDispatchHandler
This commit is contained in:
parent
8d3b17e1cb
commit
fed79c6ec7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user