validators

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateUserInput

func ValidateUserInput(k, v string, opts map[string]interface{}) error

ValidateUserInput provides generic interface to validate user input.

func ValidateUserInputEmail

func ValidateUserInputEmail(v string, opts map[string]interface{}) error

ValidateUserInputEmail validates provided email address.

func ValidateUserInputHandle

func ValidateUserInputHandle(v string, opts map[string]interface{}) error

ValidateUserInputHandle validates provided user handle.

func ValidateUserInputSecret

func ValidateUserInputSecret(v string, opts map[string]interface{}) error

ValidateUserInputSecret validates provided user secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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