Documentation ¶
Index ¶
- func CalendlyLink(value interface{}) error
- func Country(value interface{}) error
- func Interval(value interface{}) error
- func NextRoundDate(value interface{}) error
- func PostgresConnectionURL(value interface{}) error
- func ProfileType(value interface{}) error
- func RedirectURL(value interface{}) error
- func SlackBotAuthToken(value interface{}) error
- func ValidProfileLink(pType string, pLink string) error
- func Weekday(value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalendlyLink ¶
func CalendlyLink(value interface{}) error
func Country ¶
func Country(value interface{}) error
Country validates that the given value is a valid name of a country.
func Interval ¶
func Interval(value interface{}) error
Interval validates that the given value is a valid chat-roulette interval.
func NextRoundDate ¶
func NextRoundDate(value interface{}) error
NextRoundDate validates that the given value is a valid date for the next chat-roulette round.
func PostgresConnectionURL ¶
func PostgresConnectionURL(value interface{}) error
PostgresConnectionURL validates that the given value is a valid PostgreSQL connection URL.
func ProfileType ¶
func ProfileType(value interface{}) error
ProfileType validates that the given value is a valid profile type (eg, Twitter, LinkedIn, etc).
func RedirectURL ¶
func RedirectURL(value interface{}) error
RedirectURL validates that the given value is a valid OIDC redirect URL.
func SlackBotAuthToken ¶
func SlackBotAuthToken(value interface{}) error
SlackBotAuthToken validates that the given value is a valid Slack bot auth token.
func ValidProfileLink ¶
ValidProfileLink validates that the given profile link matches the expected profile type.
Types ¶
This section is empty.