Documentation
¶
Index ¶
Constants ¶
View Source
const ( MAX_REQ_BODY = 524288 // 512 KiB MAX_RESP_BODY = 524288 // 512 KiB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseLoggerPlugin ¶
type BaseLoggerPlugin struct { BasePlugin FireChan chan map[string]any AsyncBlock bool LogFormat map[string]string SendFunc func(log map[string]any) IncludeRequestBody bool IncludeResponseBody bool }
func (*BaseLoggerPlugin) Consume ¶
func (p *BaseLoggerPlugin) Consume()
add a http log consumer here, to consume the log via a channel
type BasePlugin ¶
func (*BasePlugin) GetName ¶
func (p *BasePlugin) GetName() string
func (*BasePlugin) GetPriority ¶
func (p *BasePlugin) GetPriority() int
func (*BasePlugin) GetSchema ¶
func (p *BasePlugin) GetSchema() string
Click to show internal directories.
Click to hide internal directories.