Documentation ¶
Index ¶
Constants ¶
View Source
const RegistrationStatusActive = "RegistrationStatusActive"
View Source
const RegistrationStatusDeleted = "RegistrationStatusDeleted"
View Source
const RegistrationStatusInactive = "RegistrationStatusInactive"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type AuthRepository interface {
GetRegistrationByEmail(email string) (*UserRegistration, error)
}
type AuthService ¶
type AuthService interface {
GetRegistrationByEmail(email string) (*UserRegistration, error)
}
type RegistrationStatus ¶
type RegistrationStatus string
type UserRegistration ¶
type UserRegistration struct { Id int64 `db:"user_id"` Email string `db:"user_email"` Uuid string `db:"user_uuid"` Status RegistrationStatus `db:"user_status"` PasswordHash string `db:"user_password"` }
Click to show internal directories.
Click to hide internal directories.