checks

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAmount

func CheckAmount(amount int) error

CheckAmount is used to check if the length of a token can be used.

func CheckEmojies

func CheckEmojies(emojies emojies.Emojies) error

CheckEmojies is used to check if enough emojies are specified.

func CheckPeriod

func CheckPeriod(period time.Duration) error

CheckPeriod is used to check if the period of validity is long enough.

func CheckSecret

func CheckSecret(secret string) error

CheckSecret is used to check if the provided secret is "strong" enough.

Types

This section is empty.

Jump to

Keyboard shortcuts

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