Documentation ¶
Index ¶
- func CloseDataStoreClient()
- func InitDataStoreClient()
- type TokenDal
- func (dal *TokenDal) Count(id int64) (int64, error)
- func (dal *TokenDal) Create(token *models.UserRefreshToken) error
- func (dal *TokenDal) Delete(id int64) error
- func (dal *TokenDal) Get(id int64) (*models.UserRefreshToken, error)
- func (dal *TokenDal) Update(id int64, token *models.UserRefreshToken) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDataStoreClient ¶
func InitDataStoreClient()
Initializes the data store client (i.e. Redis)
Types ¶
Click to show internal directories.
Click to hide internal directories.