Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "http"
)
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
func InitHandler(confraw *utils.ConfigRaw) (retconf utils.TypeInputConfig, err error)
Types ¶
type InputConfig ¶
type InputConfig struct { utils.InputConfig Addr string `json:"addr"` Method []string `json:"method"` Urls string `json:"urls"` Intervals int `json:"intervals"` // contains filtered or unexported fields }
func (*InputConfig) Handler ¶
func (ic *InputConfig) Handler(w http.ResponseWriter, r *http.Request)
Handler
func (*InputConfig) Start ¶
func (ic *InputConfig) Start()
Click to show internal directories.
Click to hide internal directories.