httpmw

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 4 Imported by: 3

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 added in v2.1.1

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