package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Sep 19, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Session struct {
AccountId uint64 `json:"accountId"`
Roles []string `json:"roles"`
ExpTime time.Time `json:"exp_time"`
}
Data represents the sessions.
GetSession returns sessions of the specified context.
Save saves the current sessions of the specified context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.