Documentation ¶
Index ¶
- type Config
- type Detector
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct { *plugin.PluginBase SendPackageBytes []byte ReceivePackageBytes [][]byte // contains filtered or unexported fields }
Detector TCP协议的实例健康探测器
func (*Detector) DetectInstance ¶
func (g *Detector) DetectInstance(ins model.Instance) (result healthcheck.DetectResult, err error)
DetectInstance 探测服务实例健康
Click to show internal directories.
Click to hide internal directories.