Skip to content

Commit

Permalink
doc: remove vestigial Handler interface reference
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair authored Jan 26, 2023
1 parent edd28f6 commit d30ab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A server finds the handler for a request by looking up its method name in a
jrpc2.Assigner provided when the server is set up. A Handler can decode the
request parameters using the UnmarshalParams method on the request:
func (H) Handle(ctx context.Context, req *jrpc2.Request) (any, error) {
func Handle(ctx context.Context, req *jrpc2.Request) (any, error) {
var args ArgType
if err := req.UnmarshalParams(&args); err != nil {
return nil, err
Expand Down

0 comments on commit d30ab4f

Please sign in to comment.