Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSessionBySecret ¶
Types ¶
type SessionData ¶
type SessionData struct {
Secret string `json:"secret"`
CreatedAt time.Time `json:"created_at"`
Level string `json:"level"`
Password string `json:"passwd"`
}
func GetSessionBySecret ¶
func GetSessionBySecret(secret string) (*SessionData, error)
Click to show internal directories.
Click to hide internal directories.