params

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ProxyUser = "ProxyUser"

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueContext

type ValueContext struct {
	RemoteIp string
	LocalIp  string
	// contains filtered or unexported fields
}

func (*ValueContext) GetContext

func (v *ValueContext) GetContext() context.Context

func (*ValueContext) SetRemoteIP

func (v *ValueContext) SetRemoteIP(remoteAddr string)

func (*ValueContext) WithContext

func (v *ValueContext) WithContext(ctx context.Context)

func (*ValueContext) WithValue

func (v *ValueContext) WithValue(key, value any)

Jump to

Keyboard shortcuts

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