util

package
v0.0.0-...-5dfee32 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitValidator

func InitValidator()

func RestError

func RestError(ctx *fiber.Ctx, status int, errors []string) error

func RestOk

func RestOk(ctx *fiber.Ctx, status int, data interface{}) error

func StartServerWithGracefulShutdown

func StartServerWithGracefulShutdown(a *fiber.App)

func ValidateStruct

func ValidateStruct(data interface{}) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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