http

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxyType = "http"
)

Variables

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	*base.Proxy

	TargetURL *url.URL
	ActionURL *url.URL
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(
	cfg common.ProxyConfig,
	rs *rules.RuleSet,
	db *database.DB,
) (*Proxy, error)

func (*Proxy) Shutdown

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

func (*Proxy) Start

func (p *Proxy) Start() error

Jump to

Keyboard shortcuts

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