db

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: 4 Imported by: 0

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 (*AuthRepository) GetRegistrationByEmail

func (r *AuthRepository) GetRegistrationByEmail(email string) (*domain.UserRegistration, error)

func (*AuthRepository) Init

func (r *AuthRepository) Init(schema string) error

Jump to

Keyboard shortcuts

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