transport/http: fix typo in comment
Peter Bourgon
7 years ago
6 | 6 | ) |
7 | 7 | |
8 | 8 | // RequestFunc may take information from an HTTP request and put it into a |
9 | // request context. In Servers, BeforeFuncs are executed prior to invoking the | |
10 | // endpoint. In Clients, BeforeFuncs are executed after creating the request | |
9 | // request context. In Servers, RequestFuncs are executed prior to invoking the | |
10 | // endpoint. In Clients, RequestFuncs are executed after creating the request | |
11 | 11 | // but prior to invoking the HTTP client. |
12 | 12 | type RequestFunc func(context.Context, *http.Request) context.Context |
13 | 13 |