isx

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalendlyLink(value interface{}) error

func ConnectionMode added in v1.2.0

func ConnectionMode(value interface{}) error

ConnectionMode validates that the given value is a valid chat-roulette connection mode.

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(pType string, pLink string) error

ValidProfileLink validates that the given profile link matches the expected profile type.

func Weekday

func Weekday(value interface{}) error

Weekday validates that the given value is a valid day of the week.

Types

This section is empty.

Jump to

Keyboard shortcuts

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