gin

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 9 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 {
	Msg string `json:"error" example:"message"`
}

type Gin

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

func New

func New(b string, l logger.Interface) *Gin

func (*Gin) AuthAccess added in v0.1.1

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

func (*Gin) AuthRefresh added in v0.1.1

func (ge *Gin) AuthRefresh(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