Documentation ¶
Index ¶
- type SessionDb
- func (t *SessionDb) Create(tx interface{}, session *domain.Session) error
- func (t *SessionDb) List(tx interface{}, user *domain.User) ([]domain.Session, error)
- func (t *SessionDb) Load(tx interface{}, id string) (*domain.Session, error)
- func (t *SessionDb) Remove(tx interface{}, id string, validateCurrentSession bool) error
- func (t *SessionDb) SetUserDb(item *database.User)
- func (t *SessionDb) Update(tx interface{}, session *domain.Session) error
- func (t *SessionDb) UserDb() database.User
- func (t *SessionDb) ValidateToken(tx interface{}, id string) (*domain.Session, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.