Documentation ¶
Index ¶
Constants ¶
View Source
const HealthPath = "/__health"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
func NewHealthCheck ¶
func NewHealthCheck(appSystemCode string, appName string, appDescription string, whitelistErr error, c kafkaConsumer, p kafkaProducer) *HealthCheck
func (*HealthCheck) Checks ¶
func (h *HealthCheck) Checks() []fthealth.Check
func (*HealthCheck) GTG ¶
func (h *HealthCheck) GTG() gtg.Status
func (*HealthCheck) Health ¶
func (h *HealthCheck) Health() func(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.