proxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(*Proxy) error

func WithAddr

func WithAddr(addr string) Opt

func WithDebug

func WithDebug() Opt

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Opt) (p *Proxy, err error)

func (*Proxy) Configure

func (p *Proxy) Configure(opts ...Opt) (err error)

func (*Proxy) Run

func (p *Proxy) Run(ctx context.Context) (err error)

Jump to

Keyboard shortcuts

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