middleware

package
v0.0.0-...-a35a875 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoginSession

func GetLoginSession(ginCtx *gin.Context) *auth.LoginSession

func GetServiceError

func GetServiceError(ginErr gin.Error) *core.SeviceError

func HandleError

func HandleError(ginCtx *gin.Context)

func HandleRequireLogin

func HandleRequireLogin(ginCtx *gin.Context)

func SetLoginSessionCookie

func SetLoginSessionCookie(ginCtx *gin.Context, lsId string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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