liveness

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const LIVENESS_URL = "/liveness/"

Variables

View Source
var WEBSERVER_PORT_DEFAULT = "3000"

WEBSERVER_PORT_DEFAULT - порт веб-сервера по умолчанию

Functions

func FillSettings

func FillSettings()

FillSettings загружает переменные окружения в структуру из переменных окружения

func Handlerliveness

func Handlerliveness(c *fiber.Ctx) error

func Start

func Start()

Start - запуск работы компоненты Liveness

Types

type SettingsINI

type SettingsINI struct {
	LIVENESS_HOST string
	LIVENESS_PORT string
}

SettingsINI - структура для хранения всех нужных переменных окружения

var Settings SettingsINI

Settings хранит все нужные переменные окружения

Jump to

Keyboard shortcuts

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