package
Version:
v1.0.12
Opens a new window with list of versions in this module.
Published: Apr 20, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func DeleteCookie(ctx *fiber.Ctx)
删除 Cookie
func GetUserId(ctx *fiber.Ctx) int64
获取账号ID
func IsAdmin(ctx *fiber.Ctx) bool
是否为管理员
func SetCookie(ctx *fiber.Ctx, data string)
设置 Cookie
Source Files
¶
Click to show internal directories.
Click to hide internal directories.