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)
Click to show internal directories.
Click to hide internal directories.