Documentation
¶
Overview ¶
Modified from:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MegaDumpAddon ¶
func NewMegaDirDumper ¶
func NewMegaDirDumper( logTarget string, logFormat md.LogFormat, logSources config.LogSourceConfig, logDestinations []md.LogDestination, filterReqHeaders, filterRespHeaders []string, ) (*MegaDumpAddon, error)
NewMegaDirDumper creates a new dumper that creates a new log file for each request
func (*MegaDumpAddon) Requestheaders ¶
func (d *MegaDumpAddon) Requestheaders(f *px.Flow)
Requestheaders is a callback that will receive a "flow" from the proxy, will create a NewLogDumpContainer and will use the embedded writers to finally write the log.
type SchemeUpgrader ¶
func (*SchemeUpgrader) Request ¶
func (c *SchemeUpgrader) Request(f *px.Flow)
func (*SchemeUpgrader) Response ¶
func (c *SchemeUpgrader) Response(f *px.Flow)
type StdOutLogger ¶
StdOutLogger log connection and flow
func NewStdOutLogger ¶
func NewStdOutLogger() *StdOutLogger
func (*StdOutLogger) ClientConnected ¶
func (addon *StdOutLogger) ClientConnected(client *px.ClientConn)
func (*StdOutLogger) ClientDisconnected ¶
func (addon *StdOutLogger) ClientDisconnected(client *px.ClientConn)
func (*StdOutLogger) ServerConnected ¶
func (addon *StdOutLogger) ServerConnected(connCtx *px.ConnContext)
func (*StdOutLogger) ServerDisconnected ¶
func (addon *StdOutLogger) ServerDisconnected(connCtx *px.ConnContext)
Click to show internal directories.
Click to hide internal directories.