addon

package
v0.0.0-...-f6fc4ef Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 16 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 LogAddon

type LogAddon struct {
	proxy.BaseAddon
}

LogAddon log connection and flow

func (*LogAddon) ClientConnected

func (addon *LogAddon) ClientConnected(client *proxy.ClientConn)

func (*LogAddon) ClientDisconnected

func (addon *LogAddon) ClientDisconnected(client *proxy.ClientConn)

func (*LogAddon) Requestheaders

func (addon *LogAddon) Requestheaders(f *proxy.Flow)

func (*LogAddon) ServerConnected

func (addon *LogAddon) ServerConnected(connCtx *proxy.ConnContext)

func (*LogAddon) ServerDisconnected

func (addon *LogAddon) ServerDisconnected(connCtx *proxy.ConnContext)

type Mapper

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

func NewMapper

func NewMapper(dirname string) *Mapper

func (*Mapper) Request

func (c *Mapper) Request(f *proxy.Flow)

Jump to

Keyboard shortcuts

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