Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthRoutes ¶
func NewHealthRoutes( logger logger.Logger, handler common.RequestHandler, healthController HealthController, rootHandler *routeHandlers.RootRouteHandler, ) routes.Route
NewHealthRoutes creates new health routes.
Types ¶
type Health ¶
func HealthToResponseHealth ¶
type HealthAPIConverter ¶
type HealthAPIConverter struct{}
func NewHealthAPIConverter ¶
func NewHealthAPIConverter() *HealthAPIConverter
func (HealthAPIConverter) ResponseOf ¶
func (h HealthAPIConverter) ResponseOf(result health.HealthResult) HealthResponse
type HealthController ¶
type HealthController struct {
// contains filtered or unexported fields
}
func NewHealthController ¶
func NewHealthController( healthCheckerManager *health.HealthCheckerManager, apiConverter *HealthAPIConverter, ) HealthController
func (HealthController) Health ¶
func (h HealthController) Health(ctx *gin.Context) (*response.APIResponseEnvelope, error)
type HealthResponse ¶
type HealthRoutes ¶
type HealthRoutes struct {
// contains filtered or unexported fields
}
HealthRoutes struct.
Click to show internal directories.
Click to hide internal directories.