Codebase list golang-github-go-kit-kit / 77f66b9
Update Brian Kassouf authored 6 years ago GitHub committed 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5555 ```
5757 In order for the parser and the signer to work, the authorization headers need to be passed between the request and the context.
58 ToHTTPContext(), FromHTTPContext(), ToGRPCContext(), and FromGRPCContext() are given as helpers to do this.
58 `ToHTTPContext()`, `FromHTTPContext()`, `ToGRPCContext()`, and `FromGRPCContext()` are given as helpers to do this.
5959 These function impliment the correlating transport's RequestFunc interface and can be passes as ClientBefore or ServerBefore options.
6161 Example of use in a client: