Documentation ¶
Overview ¶
TODO: Describe package
Index ¶
- func GetHealthStatus() gin.HandlerFunc
- func GetMongoDBStatus(ctx context.Context) responses.HealthStatusCode
- func GetRabbitMQStatus(ctx context.Context) responses.HealthStatusCode
- func GetRedisStatus(ctx context.Context) responses.HealthStatusCode
- func GetTracingStatus(ctx context.Context) responses.HealthStatusCode
- func Ping(url string) (int, error)
- func PingAndUpdateStatus(url string, ctx context.Context) responses.HealthStatusCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHealthStatus ¶
func GetHealthStatus() gin.HandlerFunc
TODO: Describe function
@BasePath / @Summary Health status @Schemes @Description Get health status for ROR-API @Tags health status @Accept application/json @Produce application/json @Success 200 {object} apicontracts.HealthStatus @Failure 500 {string} Failure message @Router /health [get]
func GetMongoDBStatus ¶
func GetMongoDBStatus(ctx context.Context) responses.HealthStatusCode
TODO: Describe function
func GetRabbitMQStatus ¶
func GetRabbitMQStatus(ctx context.Context) responses.HealthStatusCode
TODO: Describe function
func GetRedisStatus ¶
func GetRedisStatus(ctx context.Context) responses.HealthStatusCode
func GetTracingStatus ¶
func GetTracingStatus(ctx context.Context) responses.HealthStatusCode
TODO: Describe function
func PingAndUpdateStatus ¶
func PingAndUpdateStatus(url string, ctx context.Context) responses.HealthStatusCode
TODO: Describe function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.