internal

package
v0.0.0-...-c7413e9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyUsername                = errors.New("field username could not be null or empty")
	ErrEmptyEmail                   = errors.New("field email could not be null or empty")
	ErrEmptyPassword                = errors.New("field password could not be null or empty")
	ErrComplexityPassword           = errors.New("field password must have at least %s characters")
	ErrEmailOrUsernameInUse         = errors.New("provided email or username has already in use by another user")
	ErrUserNotFound                 = errors.New("user with provided info does not exists")
	ErrInvalidTotpToken             = errors.New("2FA token is empty or invalid")
	ErrUserAlreadyExists            = errors.New("user with provided email or username already exists")
	ErrPublicUserCreationNotAllowed = errors.New("public user creation not allowed")
)

Functions

func AuthServiceUrl

func AuthServiceUrl() string

func GrpcPort

func GrpcPort() int

func MongoDatabaseName

func MongoDatabaseName() string

func MongoUri

func MongoUri() string

func RestPort

func RestPort() int

Types

This section is empty.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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