proxy

package
v0.0.0-...-9b08f2f Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocket

func NewSocket(path string) (http.Handler, error)

Types

type Entrypoint

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

func NewEntrypoint

func NewEntrypoint(config *config.Entrypoint, handler http.Handler) (*Entrypoint, error)

func (*Entrypoint) Close

func (e *Entrypoint) Close()

func (*Entrypoint) Shutdown

func (e *Entrypoint) Shutdown(ctx context.Context) error

func (*Entrypoint) Strat

func (e *Entrypoint) Strat()

type Proxy

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

func NewProxy

func NewProxy(name string, cfg *config.Proxy) (*Proxy, error)

func (*Proxy) Close

func (p *Proxy) Close()

func (*Proxy) Shutdown

func (p *Proxy) Shutdown(ctx context.Context) error

func (*Proxy) Start

func (p *Proxy) Start()

Jump to

Keyboard shortcuts

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