dal

package
v0.0.0-...-8d46d67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDataStoreClient

func CloseDataStoreClient()

Ends the data store client (i.e. Redis)

func InitDataStoreClient

func InitDataStoreClient()

Initializes the data store client (i.e. Redis)

Types

type TokenDal

type TokenDal struct{}

func NewTokenDal

func NewTokenDal() *TokenDal

func (*TokenDal) Count

func (dal *TokenDal) Count(id int64) (int64, error)

func (*TokenDal) Create

func (dal *TokenDal) Create(token *models.UserRefreshToken) error

func (*TokenDal) Delete

func (dal *TokenDal) Delete(id int64) error

func (*TokenDal) Get

func (dal *TokenDal) Get(id int64) (*models.UserRefreshToken, error)

func (*TokenDal) Update

func (dal *TokenDal) Update(id int64, token *models.UserRefreshToken) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL