app

package
v0.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(ctx *fiber.Ctx, err error, logger *zerolog.Logger) error

ErrorHandler custom handler to log recovered errors using our logger and return json instead of string

func HealthCheck

func HealthCheck(ctx *fiber.Ctx) error

HealthCheck godoc @Summary Show the status of server. @Description get the status of server. @Tags root @Accept */* @Produce json @Success 200 {object} map[string]interface{} @Router / [get]

func StartWebAPI

func StartWebAPI(logger *zerolog.Logger, settings *config.Settings)

Types

This section is empty.

Jump to

Keyboard shortcuts

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