handlers

package
v0.0.0-...-85b58fb Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(c *gin.Context, status int, error types.ErrorType)

ErrorHandler returns an error with the given status code and error text, and aborts the middleware chain.

func NewHandler

func NewHandler(l *zap.SugaredLogger) *handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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