data

package
v0.0.0-...-959062b Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUnverifiedUser

func CreateUnverifiedUser(u entity.User) error

CreateUnverifiedUser creates an unverified user. It assumes that `u` is well-formed and sanitized. It does not sanitize `u`. The sanitization ought to have happened at the endpoint layer, as soon as we get the parameters from the request.

func Init

func Init(e env.FizzEnv)

func SetUserVerified

func SetUserVerified(user entity.User) error

func UnverifiedUserByEmailAndEmailVerificationToken

func UnverifiedUserByEmailAndEmailVerificationToken(email, token string) (*entity.User, error)

func UserExists

func UserExists(email string) (bool, error)

func VerifiedUserByEmail

func VerifiedUserByEmail(email string) (*entity.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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