Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository() (store.DatabaseRepository, error)
Types ¶
type Repository ¶
func (*Repository) GetAllUsers ¶
func (repo *Repository) GetAllUsers() ([]*models.User, error)
func (*Repository) GetUserByEmail ¶
func (repo *Repository) GetUserByEmail(email string) (*models.User, error)
func (*Repository) InsertUser ¶
func (repo *Repository) InsertUser(user *models.User) error
func (*Repository) UpdateUserQRSecret ¶
func (repo *Repository) UpdateUserQRSecret(email, secret string) error
Click to show internal directories.
Click to hide internal directories.