httpmw

package
v2.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL