validation

package
v0.0.0-...-2187358 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientValidation *regexp.Regexp
View Source
var ClientValidationPattern string = "^[a-zA-Z_0-9]+$"

Functions

func ValidateClientUsername

func ValidateClientUsername(name string) error

ValidateClientUsername receives a username and returns an error if it does not comply with ClientValidationPattern

Types

This section is empty.

Jump to

Keyboard shortcuts

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