proxy

package
v0.0.0-...-3cea427 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 12 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 {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, pool click.ClientPool) *Proxy

func (*Proxy) Close

func (p *Proxy) Close() (err error)

func (*Proxy) HandleConn

func (p *Proxy) HandleConn(ctx context.Context, conn net.Conn) (err error)

func (*Proxy) HandleRequest

func (p *Proxy) HandleRequest(ctx context.Context, srv click.ServerConn, clopts ...click.ClientOption) (err error)

func (*Proxy) Serve

func (p *Proxy) Serve(ctx context.Context, l net.Listener) (err error)

Jump to

Keyboard shortcuts

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