proxy

package
v0.0.0-...-1215978 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Logger logger.Logger `inject:""`
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(cfg config.ProxyConfiguration, addr ...string) *Proxy

func (*Proxy) Enabled

func (p *Proxy) Enabled() bool

func (*Proxy) GetActiveConfig

func (p *Proxy) GetActiveConfig() config.ProxyConfiguration

func (*Proxy) Len

func (p *Proxy) Len() int

func (*Proxy) SwitchProxy

func (p *Proxy) SwitchProxy(moduleName string) error

func (*Proxy) UpdateProxyEnvVars

func (p *Proxy) UpdateProxyEnvVars() error

Jump to

Keyboard shortcuts

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