Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + type Config struct + ExpectedStatuses []*ExpectedStatus + Host string + Path string + RequestHeadersToAdd []*RequestHeader + func (r *Config) SetDefault() + func (r *Config) Verify() error + type Detector struct + func (g *Detector) Destroy() error + func (g *Detector) DetectInstance(ins model.Instance) (result healthcheck.DetectResult, err error) + func (g *Detector) Init(ctx *plugin.InitContext) (err error) + func (g *Detector) IsEnable(cfg config.Configuration) bool + func (g *Detector) Name() string + func (g *Detector) Type() common.Type + type ExpectedStatus struct + End int + Start int + type RequestHeader struct + Key string + Value string