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 UserIdToObjectID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.