forwarded

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarded

type Forwarded struct {
	For   []string
	By    []string
	Host  string
	Proto string
}

func New

func New() *Forwarded

func Parse

func Parse(text string) *Forwarded

func (*Forwarded) ClientIP

func (fw *Forwarded) ClientIP() string

func (*Forwarded) String

func (fw *Forwarded) String() string

Jump to

Keyboard shortcuts

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