tools

package
v0.0.0-...-fbdc1e2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckAPI

type HealthCheckAPI struct {
	// contains filtered or unexported fields
}

HealthCheckAPI has methods for readiness and liveness checking

func NewHealthCheckAPI

func NewHealthCheckAPI(db *sqlx.DB) *HealthCheckAPI

NewHealthCheckAPI returns new instance of healthcheck api

func (*HealthCheckAPI) Liveness

func (a *HealthCheckAPI) Liveness(c *fiber.Ctx) error

Liveness determines whether service is up

func (*HealthCheckAPI) Readiness

func (a *HealthCheckAPI) Readiness(c *fiber.Ctx) error

Readiness determines whether service is ready

Jump to

Keyboard shortcuts

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