Documentation ¶
Index ¶
- func NewAuthRepository(tx *pg.Transaction, client *mailer.SmtpClient) auth.IAuth
- func NewFlagRepo(tx *postgres.Transaction) domain.IFlag
- func NewOTPRepo(tx *postgres.Transaction, userID *uuid.UUID) domain.IOTP
- func NewSessionRepository(tx *pg.Transaction) domain.ISession
- func NewUserRepository(tx *pg.Transaction) domain.IUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthRepository ¶
func NewAuthRepository(tx *pg.Transaction, client *mailer.SmtpClient) auth.IAuth
NewAuthRepository creates a new repository
func NewFlagRepo ¶ added in v0.5.0
func NewFlagRepo(tx *postgres.Transaction) domain.IFlag
func NewOTPRepo ¶ added in v0.5.0
func NewSessionRepository ¶
func NewSessionRepository(tx *pg.Transaction) domain.ISession
NewSessionRepository creates a new repository
func NewUserRepository ¶
func NewUserRepository(tx *pg.Transaction) domain.IUser
NewUserRepository creates a new repository
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.