controller

package
v0.0.0-...-11bce7f Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAccessToken

func GenerateAccessToken(user database.User) (string, *i.Error)

func GenerateRefreshToken

func GenerateRefreshToken(u database.User) (string, *i.Error)

func RefreshToken

func RefreshToken(c *gin.Context) (interface{}, *i.Error)

func UserLogin

func UserLogin(c *gin.Context) (interface{}, *internal.Error)

func UserLogout

func UserLogout(c *gin.Context) (response interface{}, err *internal.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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