middleware

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleWare added in v0.1.8

func AuthMiddleWare(ctx *gin.Context)

AuthMiddleWare .

func AuthMiddleWareCustomer added in v0.1.8

func AuthMiddleWareCustomer(ctx *gin.Context)

AuthMiddleWareCustomer .

func AuthMiddleWareEmployee added in v0.1.8

func AuthMiddleWareEmployee(ctx *gin.Context)

AuthMiddleWareEmployee .

func CORS

func CORS() gin.HandlerFunc

CORS 跨域

func CustomerHeader

func CustomerHeader() gin.HandlerFunc

CustomerHeader .

func Logger

func Logger() gin.HandlerFunc

Logger .

Types

This section is empty.

Jump to

Keyboard shortcuts

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