Skip to content

Commit 59d9d44

Browse files
committed
Fix documentation's mention of obsolete ContextSource param
1 parent ae6e951 commit 59d9d44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The service constructor can use `hooks *twirp.ServerHooks` to plug in additional
88
functionality:
99

1010
```go
11-
func NewHaberdasherServer(svc Haberdasher, hooks *twirp.ServerHooks, ctxSrc ContextSource) http.Handler
11+
func NewHaberdasherServer(svc Haberdasher, hooks *twirp.ServerHooks) http.Handler
1212
```
1313

1414
These _hooks_ provide a framework for side-effects at important points while a

website/i18n/en.json

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"Best Practices": "Best Practices",
99
"command_line": "Command line parameters",
1010
"Command line parameters": "Command line parameters",
11+
"curl": "cURL",
12+
"cURL": "cURL",
1113
"errors": "Errors",
1214
"Errors": "Errors",
1315
"example": "Usage Example: Haberdasher",

0 commit comments

Comments
 (0)