services

package
v0.0.0-...-b2480b3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTemplateParseFile = errors.New("error while parsing template file")
	ErrTemplateExecute   = errors.New("error while execution of template file")
	ErrParsingToInt      = errors.New("error while parsing to int")
	Version              string
)
View Source
var (
	ErrQRCodeGeneration = errors.New("error during QRcode generation")
)

Functions

func GetConfig

func GetConfig() (config.Config, error)

func NewHealthHandler

func NewHealthHandler() http.Handler

NewHealthHandler creates the handler for service health check

func NewMetricsHandler

func NewMetricsHandler() http.Handler

NewMetricsHandler creates the handler allowing to dump Prometheus metrics

func Register

func Register() *http.ServeMux

Types

This section is empty.

Jump to

Keyboard shortcuts

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