controllers

package
v0.0.0-...-c8bfaa4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeHandler

func HomeHandler(c *gin.Context)

HomeHandler is the home handler will show home page, also according login/logout action to navigate

func LoginHandler

func LoginHandler(c *gin.Context)

LoginHandler for login page , it also can use for logout since it delete all stored session

func SomeCookiesHandler

func SomeCookiesHandler(c *gin.Context)

SomeCookiesHandler show cookie example

func ValidateJwtLoginHandler

func ValidateJwtLoginHandler(c *gin.Context)

ValidateJwtLoginHandler validate the login and redirect to correct link

Types

This section is empty.

Jump to

Keyboard shortcuts

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