Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultDetectURL = "http://127.0.0.1:8899/detect"
View Source
const DefaultHCURL = "http://127.0.0.1:8899/hccheck"
View Source
const DefaultTimeOut time.Duration = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
Types ¶
type HCResponseBody ¶
type MockWafResult ¶
type MockWafResult struct {
// contains filtered or unexported fields
}
func (*MockWafResult) GetEventId ¶
func (r *MockWafResult) GetEventId() string
func (*MockWafResult) GetResultFlag ¶
func (r *MockWafResult) GetResultFlag() int
type MockWafServerAgent ¶
type MockWafServerAgent struct {
// contains filtered or unexported fields
}
func (*MockWafServerAgent) Close ¶
func (c *MockWafServerAgent) Close()
func (*MockWafServerAgent) DetectRequest ¶
func (*MockWafServerAgent) UpdateSockFactory ¶
func (c *MockWafServerAgent) UpdateSockFactory(socketFactory func() (net.Conn, error))
type ResponseBody ¶
Click to show internal directories.
Click to hide internal directories.