http

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL