validation

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidAccessToken

func IsValidAccessToken(token string) bool

IsValidAccessToken asserts that an accessToken is a valid uuid

func IsValidShareType

func IsValidShareType(shareType ShareType) bool

func IsValidShortUID

func IsValidShortUID(uid string) bool

IsValidShortUID checks that the uid is not blank and contains valid characters. Wraps utils.IsValidShortUID

func ValidatePublicDashboard

func ValidatePublicDashboard(dto *SavePublicDashboardDTO) error

func ValidateQueryPublicDashboardRequest

func ValidateQueryPublicDashboardRequest(req PublicDashboardQueryDTO, pd *PublicDashboard) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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