//
pkg.gl
Category
github.com/matthewpi/cosmos
internal
forwarded
package
0.0.0-20211102154319-53df4c209bd9
Repository:
https://github.com/matthewpi/cosmos.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
118 SLOC
#
Functions
Get
Get returns the proxies from the "Forwarded" headers of a request.
Parse
Parse parses a "Forwarded"-style header, usually from a HTTP request.
#
Constants
HTTP
HTTP represents the HTTP protocol.
HTTPS
HTTPS represents the HTTPS protocol.
#
Structs
Proxy
Proxy represents an individual proxy server that has forwarded a HTTP request.
#
Type aliases
Proto
Proto represents the protocol used with a specific Proxy.