gin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CKey

type CKey string

type Error

type Error struct {
	Error string `json:"error" example:"message"`
}

type Gin

type Gin struct {
	R *g.RouterGroup
	L logger.Interface
}

func New

func New(g *g.RouterGroup, l logger.Interface) *Gin

func (*Gin) AuthCheck

func (ge *Gin) AuthCheck(jwt *jwt.Jwt) g.HandlerFunc

func (*Gin) ErrorResponse

func (ge *Gin) ErrorResponse(c *g.Context, code int, msg string, iss string, err error)

Jump to

Keyboard shortcuts

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