plugin

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors(s Server) gin.HandlerFunc

func DB added in v1.3.0

func DB(s Server) gin.HandlerFunc

func Jwt

func Jwt(s Server) gin.HandlerFunc

func Logger

func Logger(s Server) gin.HandlerFunc

func Option

func Option(s Server) gin.HandlerFunc

func Perm

func Perm(s Server) gin.HandlerFunc

func Redis added in v1.2.4

func Redis(s Server) gin.HandlerFunc

func Setup

func Setup(s Server)

func Signature

func Signature(s Server) gin.HandlerFunc

Types

type Server

type Server interface {
	Engin() *gin.Engine
	Option() interface{}

	Set(key string, value interface{})
}

Jump to

Keyboard shortcuts

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