Documentation
¶
Index ¶
- type HttpOutput
- func (i *HttpOutput) IsPrintable(s string) bool
- func (i *HttpOutput) Output(requestData *httpRequestData, response *http.Response, ...)
- func (i *HttpOutput) OutputBody(body []byte)
- func (i *HttpOutput) OutputRAW(requestData *httpRequestData, response *http.Response, ...)
- func (i *HttpOutput) OutputRequestLine(requestData *httpRequestData, response *http.Response, ...)
- func (i *HttpOutput) ReadRawHeader(data []byte) string
- func (i *HttpOutput) String() string
- func (i *HttpOutput) SubString(text string, maxLen int) string
- func (i *HttpOutput) Write(data []byte, srcPort int, destPort int, srcAddr string, destAddr string, ...) (int, error)
- type MemcacheOutput
- type OutputWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpOutput ¶
type HttpOutput struct {
// contains filtered or unexported fields
}
func NewHttpOutput ¶
func NewHttpOutput(options string) (di *HttpOutput)
func (*HttpOutput) IsPrintable ¶
func (i *HttpOutput) IsPrintable(s string) bool
checks if s is ascii and printable, aka doesn't include tab, backspace, etc.
func (*HttpOutput) Output ¶
func (i *HttpOutput) Output(requestData *httpRequestData, response *http.Response, rawResponseHeader string)
func (*HttpOutput) OutputBody ¶
func (i *HttpOutput) OutputBody(body []byte)
func (*HttpOutput) OutputRAW ¶
func (i *HttpOutput) OutputRAW(requestData *httpRequestData, response *http.Response, rawResponseHeader string)
func (*HttpOutput) OutputRequestLine ¶
func (i *HttpOutput) OutputRequestLine(requestData *httpRequestData, response *http.Response, rawResponseHeader string)
func (*HttpOutput) ReadRawHeader ¶
func (i *HttpOutput) ReadRawHeader(data []byte) string
func (*HttpOutput) String ¶
func (i *HttpOutput) String() string
type MemcacheOutput ¶
type MemcacheOutput struct {
// contains filtered or unexported fields
}
func NewMemcacheOutput ¶
func NewMemcacheOutput(options string) (di *MemcacheOutput)
Click to show internal directories.
Click to hide internal directories.