proxy

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probe added in v0.12.0

func Probe(port int) error

Probe checks if the proxy is ready to serve requests.

Types

type Proxy

type Proxy interface {
	Run(ctx context.Context) error
}

func NewProxy

func NewProxy(port int, logger mlog.Logger) (Proxy, error)

NewProxy returns a proxy instance

Jump to

Keyboard shortcuts

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