Documentation ¶
Index ¶
- type HTTPClient
- type Scanner
- func (s *Scanner) CheckBlocking(body []byte, statusCode int) (bool, error)
- func (s *Scanner) CheckPass(body []byte, statusCode int) (bool, error)
- func (s *Scanner) PreCheck(url string) (blocked bool, statusCode int, err error)
- func (s *Scanner) Run(ctx context.Context, url string) error
- func (s *Scanner) WSPreCheck(url string) (available, blocked bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient(cfg *config.Config) *HTTPClient
Click to show internal directories.
Click to hide internal directories.