domain

package
v0.0.0-...-2847b59 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 0 Imported by: 15

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"`
}

Jump to

Keyboard shortcuts

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