fiberutils

package
v0.0.0-...-a8b8e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERIFY_SERVER_TIMEZONE = "VERIFY_SERVER_TIMEZONE"
	DEFAULT_TIMEZONE       = "UTC"
	LOG_REQ_BODY           = "LOG_REQ_BODY"
)

Variables

This section is empty.

Functions

func CfgLogTimeZone

func CfgLogTimeZone() string

func CheckPath

func CheckPath(cmd string) (string, error)

func CustomErrorHandler

func CustomErrorHandler(ctx *fiber.Ctx, err error) error

func ExecuteShellCommand

func ExecuteShellCommand(cmd string) ([]byte, error)

func GetLogConfig

func GetLogConfig(log logger.Logger) (lc fiberlogger.Config)

func LogResgisteredRoutes

func LogResgisteredRoutes(stack [][]*fiber.Route, logger logger.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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