middlewares

package
v0.0.0-...-4bc8cf8 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

CORSMiddleware returns a gin.HandlerFunc that handles CORS policies.

func IsAuthenticated

func IsAuthenticated() gin.HandlerFunc

func ValidateRequestFields

func ValidateRequestFields(model interface{}) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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