Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneURLValues ¶ added in v0.2.1
CloneURLValues clones an url.Values
func DetectContentType ¶ added in v0.2.1
DetectContentType detects content-type of body.
Types ¶
type Post ¶
type Post struct { Matches []string `pflag:"前置匹配(子串包含)"` PostURL string `pflag:"POST URL"` Capture string `pflag:"匹配正则(优先级比锚点高)"` CaptureGroup int `pflag:"捕获组序号"` AnchorStart string `pflag:"起始锚点(在capture为空时有效)"` AnchorEnd string `pflag:"终止锚点(在capture为空时有效)"` // contains filtered or unexported fields }
Post process line and then POST it out
func (Post) ProcessLine ¶
ProcessLine process a line string.
Click to show internal directories.
Click to hide internal directories.