Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBHealthChecker ¶
type DBHealthChecker struct {
// contains filtered or unexported fields
}
type Health ¶
type Health struct { Status HealthStatus Name string Details map[string]any }
func NewHealth ¶
func NewHealth(status HealthStatus, name string) Health
func NewHealthWithDetails ¶
func NewHealthWithDetails(status HealthStatus, name string, details map[string]any) *Health
type HealthChecker ¶
func NewDBHealthChecker ¶
func NewDBHealthChecker(repository persistence.Repository, logger logger.Logger) HealthChecker
func NewRabbitMQHealthChecker ¶
func NewRabbitMQHealthChecker() HealthChecker
type HealthStatus ¶
type HealthStatus int
const ( Unknown HealthStatus = iota Healthy Unhealthy )
func (HealthStatus) String ¶
func (h HealthStatus) String() string
type RabbitMQHealthChecker ¶
type RabbitMQHealthChecker struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.