validator

package
v0.0.0-...-d34172e Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateEmail

func ValidateEmail(value string) error

func ValidateLoginRequest

func ValidateLoginRequest(req *pb.LoginRequest) error

func ValidatePassword

func ValidatePassword(value string) error

func ValidateRegisterRequest

func ValidateRegisterRequest(req *pb.RegisterRequest) error

func ValidateRenewTokenRequest

func ValidateRenewTokenRequest(req *pb.RenewTokenRequest) error

func ValidateString

func ValidateString(fieldName string, value string, minLength int, maxLength int) error

func ValidateUsername

func ValidateUsername(value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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