middlewares

package
v0.0.0-...-cea713b Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(service api.MainService, c *gin.Context, funcc func(user api.User))

func ExtractToken

func ExtractToken(c *gin.Context) string

func IncrementVisitorCount

func IncrementVisitorCount(c *gin.Context, user api.User, mainService api.MainService) (next bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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