middleware

package
v3.3.9 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() gin.HandlerFunc

Cors Cross-domain middleware

func GlobalExceptionInterceptor

func GlobalExceptionInterceptor(ctx *gin.Context)

GlobalExceptionInterceptor gin global exception interceptor add via gin middleware. thrown when the exception type is string and the BusinessException

Types

This section is empty.

Jump to

Keyboard shortcuts

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