validators

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidCustomAlias added in v1.3.0

func IsValidCustomAlias(customAlias string) error

IsValidCustomAlias checks if a given custom alias is valid

func IsValidExpirationTime added in v1.3.0

func IsValidExpirationTime(expirationTime time.Time) error

IsValidExpirationTime checks if the given timestamp is a valid expiration timestamp

func IsValidUrl

func IsValidUrl(url string) error

IsValidUrl validates a url

func IsValidUrlId added in v1.3.0

func IsValidUrlId(urlId string) error

IsValidUrlId checks if a given urlId is valid

func IsValidUserId added in v1.3.0

func IsValidUserId(userId string) error

IsValidUserId checks if a given userId is valid

Types

This section is empty.

Jump to

Keyboard shortcuts

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