Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPChecker ¶
NewHTTPChecker create a HTTP checker
Types ¶
type HTTPChecker ¶
type HTTPChecker struct {
// contains filtered or unexported fields
}
HTTPChecker is a plugin to check HTTP service
func (HTTPChecker) Periodicity ¶ added in v1.3.0
func (c HTTPChecker) Periodicity() *time.Duration
Periodicity returns the delay between two checks
func (*HTTPChecker) Run ¶
func (c *HTTPChecker) Run(ctx context.Context) plugins.Result
Run is performing the checker protocol
func (HTTPChecker) ServiceName ¶
func (c HTTPChecker) ServiceName() string
ServiceName returns the name of the NSCA service associated to the checker
Click to show internal directories.
Click to hide internal directories.