controller

package
v0.0.0-...-5d10e5d Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthSessionExample

func AuthSessionExample(ctx *gin.Context)

AuthSessionExample returns a message indicating the user is authenticated.

func ClearSessionExample

func ClearSessionExample(ctx *gin.Context)

ClearSessionExample clears the session and deletes the session cookie.

func SetSessionExample

func SetSessionExample(ctx *gin.Context)

SetSessionExample sets a user ID and email in the session and saves it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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