Documentation ¶
Index ¶
- Variables
- func GetData(stream interface{ ... }, maxSize int) ([]byte, error)
- func GetExponentialBackoff(backoff float64, factor float64) time.Duration
- func GetIdentifierFromIdentifier(userID uuid.UUID) (string, string)
- func Retry(amount int, dur time.Duration, x func() error) error
- func UserIdentifier(u *user.User) string
- func UserName(u *user.User) string
- func ValidateEmail(email string) error
- func ValidatePassword(password string) error
- func ValidatePhone(phone string) error
- type DataReceive
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileIsTooLarge = errors.InvalidArgumentErrorf("file exceeds maximum file size")
View Source
var ErrInvalidUpdatedAt = errors.InvalidArgumentErrorf("invalid updated at timestamp")
Functions ¶
func GetExponentialBackoff ¶
func UserIdentifier ¶
func ValidateEmail ¶
func ValidatePassword ¶
func ValidatePhone ¶
Types ¶
type DataReceive ¶
func (DataReceive) Receive ¶
func (d DataReceive) Receive() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.