via

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(ident string) func(http.Handler) http.Handler

Middleware is a middleware constructor. The middleware appends Via header outgoing requests as defined in RFC2616 https://tools.ietf.org/html/rfc2616#section-14.45.

func Via

func Via(next http.Handler) http.Handler

Via is a middleware which appends Via header to outgoing requests and uses host name for the server indent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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