Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRateLimited = fmt.Errorf("rate limited (HTTP 429)")
ErrRateLimited is returned when the server responds with HTTP 429.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func SetVersionInfo ¶ added in v1.2.0
func SetVersionInfo(version, buildDate string)
SetVersionInfo sets the version information for the root command.
Types ¶
type JSONResult ¶ added in v1.3.0
type JSONResult struct {
StatusCode int `json:"status_code"`
ContentLength int `json:"content_length"`
Technique string `json:"technique"`
Payload string `json:"payload"`
}
JSONResult represents a single result in JSON output format.
type RequestOptions ¶
type RequestOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.