addon

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: AGPL-3.0, MIT Imports: 13 Imported by: 0

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

func NewDumperWithFilename(filename string, level int) *Dumper

func (*Dumper) Requestheaders

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

type MapLocal

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

func NewMapLocalFromFile

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

func (*MapLocal) Requestheaders

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

type MapRemote

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

func NewMapRemoteFromFile

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

func (*MapRemote) Requestheaders

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