session

package
v0.0.0-...-a56952b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKey = "botreplyer/sessions"
)
View Source
const KeyIsAdmin = "linebot-is-admin"

Variables

This section is empty.

Functions

func IsAdmin

func IsAdmin(session ginSessions.Session) bool

func IsKeyExist

func IsKeyExist(session ginSessions.Session, key string) bool

func NewSessionFromSession

func NewSessionFromSession(c *gin.Context, name string, s *sessions.Session, store sessions.Store) ginSessions.Session

func UserIdToObjectID

func UserIdToObjectID(userId string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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