health

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EndpointGetHealth = "/api/v1/health"

Variables

This section is empty.

Functions

func SetupAPI

func SetupAPI(router gin.IRoutes, version string)

SetupAPI setups the REST API for configuration information

Types

type GetHealthResponse

type GetHealthResponse struct {
	Status  string `json:"status"`
	Version string `json:"version"`
}

GetHealthResponse contains the data that is send to the client requesting the health GET endpoint.

Jump to

Keyboard shortcuts

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