app

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServers added in v0.0.16

func CreateServers(logger *zerolog.Logger, settings *config.Settings) (*fiber.App, *grpc.Server, error)

CreateServers creates a new fiber app and grpc server with the given settings.

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]

Types

This section is empty.

Jump to

Keyboard shortcuts

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