Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthChecker ¶
type HealthChecker struct {
// contains filtered or unexported fields
}
HealthChecker structure.
func NewHealthChecker ¶
func NewHealthChecker(router *gin.Engine) *HealthChecker
NewHealthChecker constructor.
func (*HealthChecker) SetReady ¶
func (hc *HealthChecker) SetReady()
SetReady sets application ready flag
type HealthCheckerServer ¶
type HealthCheckerServer struct { Chk *HealthChecker // contains filtered or unexported fields }
HealthCheckerServer structure.
func NewHealthCheckerServer ¶
func NewHealthCheckerServer(port int) *HealthCheckerServer
NewHealthCheckerServer constructor.
func (*HealthCheckerServer) Stop ¶
func (s *HealthCheckerServer) Stop() error
Stop HTTP server gracefully.
Click to show internal directories.
Click to hide internal directories.