Documentation ¶
Index ¶
- func NewAmqpProbe(cfg *config.Amqp) *amqpProbe
- func NewHttpProbe(cfg *config.HttpGet) *httpGetProbe
- func NewMongoDBProbe(cfg *config.MongoDB) (*mongoDBProbe, error)
- func NewMySQLProbe(cfg *config.MySQL) *mySQLProbe
- func NewRedisProbe(cfg *config.Redis) *redisProbe
- func NewSmtpProbe(cfg *config.SMTP) *smtpProbe
- func RunProbeServer(ph *Handler, signals chan os.Signal, probePort int) error
- type Handler
- type Probe
- type ProbeResult
- type StatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAmqpProbe ¶
func NewHttpProbe ¶
func NewMongoDBProbe ¶
func NewMySQLProbe ¶
func NewRedisProbe ¶
func NewSmtpProbe ¶ added in v1.8.0
Types ¶
type Handler ¶ added in v1.1.5
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) HandleStatus ¶ added in v1.1.5
func (h *Handler) HandleStatus(res http.ResponseWriter, req *http.Request)
type ProbeResult ¶
type StatusResponse ¶
type StatusResponse struct {
Probes map[string]*ProbeResult `json:"probes"`
}
Click to show internal directories.
Click to hide internal directories.