healthcontroller

package
v1.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

TODO: Describe package

Index

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 Ping

func Ping(url string) (int, error)

TODO: Describe function

func PingAndUpdateStatus

func PingAndUpdateStatus(url string, ctx context.Context) responses.HealthStatusCode

TODO: Describe function

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL