utils

package
v0.0.0-...-4711403 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MPL-2.0 Imports: 14 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHTTPErrorHandler

func DefaultHTTPErrorHandler(err error, c echo.Context)

func GetUser

func GetUser(c echo.Context) models.User

Types

type Globals

type Globals struct {
	Database database.Database
	Redis    redis.Redis
	Config   config.Configuration
	Ipc      ipc.IPC
}

func InitGlobals

func InitGlobals() Globals

Jump to

Keyboard shortcuts

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