Documentation ¶
Overview ¶
Package httpmw provides middlewares that are automatically used by the generated code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultChain ¶
func DefaultChain(next http.HandlerFunc) http.HandlerFunc
DefaultChain is a chain that gets applied to the generated handlers.
func HeadersToGRPCMD ¶
func HeadersToGRPCMD(next http.HandlerFunc) http.HandlerFunc
HeadersToGRPCMD inserts HTTP headers to gRPC metadata, as if they were received via gRPC. Every header name is lowercased, per gRPC standards.
func InjectTransportStream ¶
func InjectTransportStream(next http.HandlerFunc) http.HandlerFunc
InjectTransportStream injects httptransport.TransportStream to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.