Documentation ¶ Index ¶ type SessionManager func New() *SessionManager func (sm *SessionManager) GetUser(ctx context.Context, sessionUuid string) (*models.User, error) func (sm *SessionManager) SaveUser(ctx context.Context, sessionUuid string, user *models.User, d time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type SessionManager ¶ type SessionManager struct { // contains filtered or unexported fields } func New ¶ func New() *SessionManager func (*SessionManager) GetUser ¶ func (sm *SessionManager) GetUser(ctx context.Context, sessionUuid string) (*models.User, error) func (*SessionManager) SaveUser ¶ func (sm *SessionManager) SaveUser(ctx context.Context, sessionUuid string, user *models.User, d time.Duration) error Source Files ¶ View all Source files session_manager.go Click to show internal directories. Click to hide internal directories.