addon

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	proxy.BaseAddon
}

func (*Decoder) Response

func (d *Decoder) Response(f *proxy.Flow)

type Dumper

type Dumper struct {
	proxy.BaseAddon
	// contains filtered or unexported fields
}

func NewDumper

func NewDumper(out io.Writer, level int) *Dumper

func NewDumperWithFilename added in v1.0.0

func NewDumperWithFilename(filename string, level int) *Dumper

func (*Dumper) Requestheaders

func (d *Dumper) Requestheaders(f *proxy.Flow)

type MapLocal added in v1.6.0

type MapLocal struct {
	proxy.BaseAddon
	Items  []*mapLocalItem
	Enable bool
}

func NewMapLocalFromFile added in v1.6.0

func NewMapLocalFromFile(filename string) (*MapLocal, error)

func (*MapLocal) Requestheaders added in v1.6.0

func (ml *MapLocal) Requestheaders(f *proxy.Flow)

type MapRemote added in v1.6.0

type MapRemote struct {
	proxy.BaseAddon
	Items  []*mapRemoteItem
	Enable bool
}

func NewMapRemoteFromFile added in v1.6.0

func NewMapRemoteFromFile(filename string) (*MapRemote, error)

func (*MapRemote) Requestheaders added in v1.6.0

func (mr *MapRemote) Requestheaders(f *proxy.Flow)

Jump to

Keyboard shortcuts

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