proxy

package
v0.0.0-...-c53c3a1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: AGPL-3.0 Imports: 6 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 {
	NumberOfRequests uint
	Rules            *[]*rule.Rule
	// contains filtered or unexported fields
}

func Listen

func Listen(address, target string, readBufferSize int, rules *[]*rule.Rule) *Proxy

func (*Proxy) Handler

func (p *Proxy) Handler(ctx *fasthttp.RequestCtx)

func (*Proxy) ReloadRules

func (p *Proxy) ReloadRules(filename string) error

Jump to

Keyboard shortcuts

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