Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomizeRequest ¶
type CustomizeRequest func(request *http.Request) error
type DiscardSink ¶ added in v0.1.5
type DiscardSink struct {
}
type PrettySink ¶
type PrettySink struct {
}
type ResponseVerify ¶ added in v0.1.5
type ResponseVerify func(response *http.Response, responseBody string) error
type Sink ¶
type Sink interface {
Report(alerts *alert.Alerts) error
}
func CreateWebSink ¶
func CreateWebSink(postUrl string, customizeRequest CustomizeRequest, responseVerify ResponseVerify, tlsSkipVerify bool) (Sink, error)
Click to show internal directories.
Click to hide internal directories.