Documentation ¶ Index ¶ func Parse(task *collecttask.CollectTask) (api.Input, error) type Config 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 { Network string `json:"network"` Port int `json:"port"` Ports []int `json:"ports"` Timeout int `json:"timeout"` Times int `json:"times"` NetworkMode string `json:"networkMode"` } Source Files ¶ View all Source files parse.go Click to show internal directories. Click to hide internal directories.