Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HTTP defines the plain http scheme HTTP = "http" // HTTPS defines the secure http scheme HTTPS = "https" // HTTPorHTTPS defines both http and https scheme in mutual exclusion HTTPorHTTPS = "http|https" // HTTPandHTTPS defines both http and https scheme HTTPandHTTPS = "http&https" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Target ¶
type Target struct { // Host is the host input on which match was found. Host string `json:"host,omitempty"` // Scheme is the scheme of the host input on which match was found (if applicable). Scheme string `json:"scheme,omitempty"` // Methods is the method of the host input on which match was found (if applicable). Methods []string `json:"methods,omitempty"` // Headers is the headers of the host input on which match was found (if applicable). Headers map[string]interface{} `json:"headers,omitempty"` // paths is the paths of the host input on which match was found (if applicable). Paths []string `json:"paths,omitempty"` // Body is the body of the host input on which match was found (if applicable). Body string `json:"body,omitempty"` }
func (*Target) IsDuplicate ¶ added in v2.0.2
IsDuplicate 判断target是否是重复的
func (*Target) NewRequest ¶
Click to show internal directories.
Click to hide internal directories.