Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(task *collecttask.CollectTask) (api.Input, error)
Types ¶
type Config ¶
type Config struct { URL string `json:"url"` Schema string `json:"schema"` Port int `json:"port"` Path string `json:"path"` Timeout int `json:"timeout"` Method string `json:"method"` SuccessCodes []int `json:"successCodes"` SuccessRegexps []string `json:"successRegexps"` BodyLimit int64 `json:"bodyLimit"` NetworkMode string `json:"networkMode"` }
Click to show internal directories.
Click to hide internal directories.