Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HealthEndpoint ¶
type HealthEndpoint struct { fx.In Health *ServiceHealth }
func (*HealthEndpoint) Handle ¶
func (e *HealthEndpoint) Handle(c *fiber.Ctx) error
type ServiceHealth ¶
type ServiceHealth struct {
// contains filtered or unexported fields
}
func (*ServiceHealth) IsHealthy ¶
func (s *ServiceHealth) IsHealthy(component ...string) (bool, string)
func (*ServiceHealth) SetHealthy ¶
func (s *ServiceHealth) SetHealthy(component string)
func (*ServiceHealth) SetUnhealthy ¶
func (s *ServiceHealth) SetUnhealthy(component string, reason string)
Click to show internal directories.
Click to hide internal directories.