Documentation
¶
Index ¶
- func ValidateEmail(value string) error
- func ValidateLoginRequest(req *pb.LoginRequest) error
- func ValidatePassword(value string) error
- func ValidateRegisterRequest(req *pb.RegisterRequest) error
- func ValidateRenewTokenRequest(req *pb.RenewTokenRequest) error
- func ValidateString(fieldName string, value string, minLength int, maxLength int) error
- func ValidateUsername(value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEmail ¶
func ValidateLoginRequest ¶
func ValidateLoginRequest(req *pb.LoginRequest) error
func ValidatePassword ¶
func ValidateRegisterRequest ¶
func ValidateRegisterRequest(req *pb.RegisterRequest) error
func ValidateRenewTokenRequest ¶
func ValidateRenewTokenRequest(req *pb.RenewTokenRequest) error
func ValidateString ¶
func ValidateUsername ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.