user

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyDB            = "admin.user.gorm.db"
	KeyNoCheckRouter = "admin.user.router.nocheck"
	KeyCheckRouter   = "admin.user.router.check"
)

Variables

This section is empty.

Functions

func CurrentUser

func CurrentUser(c *fiber.Ctx) *model.User

func LogoutAction

func LogoutAction(c *fiber.Ctx) error

func SigninAction

func SigninAction(c *fiber.Ctx) error

func SigninPage

func SigninPage(c *fiber.Ctx) error

func SignupAction

func SignupAction(c *fiber.Ctx) error

func SignupPage

func SignupPage(c *fiber.Ctx) error

func SuperAccessCheck

func SuperAccessCheck(c *fiber.Ctx, obj *object.AdminObject) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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