Package list golang-github-go-kit-kit / 77f66b9
Update README.md Brian Kassouf authored 4 years ago GitHub committed 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5555 ```
5656
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.
6060
6161 Example of use in a client: