Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type AuthRepository struct {
// contains filtered or unexported fields
}
UserRepository concrete implementation of in-memory db
func NewAuthRepository ¶
func NewAuthRepository() *AuthRepository
func (*AuthRepository) Create ¶
func (r *AuthRepository) Create(u *domain.UserRegistration) error
func (*AuthRepository) GetRegistrationByEmail ¶
func (r *AuthRepository) GetRegistrationByEmail(email string) (*domain.UserRegistration, error)
func (*AuthRepository) Init ¶
func (r *AuthRepository) Init(schema string) error
Click to show internal directories.
Click to hide internal directories.