validation

package
v0.0.0-...-9d62925 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateMap

func ValidateMap(m map[string]interface{}, keys []string) bool

ValidateMap is used to validate json objects passed through the api and alert the front end

func ValidateMapAlert

func ValidateMapAlert(m map[string]interface{}, keys []string, ws *websocket.Conn) bool

ValidateMapAlert is used to validate json objects passed through the api and alert the front end

Types

This section is empty.

Jump to

Keyboard shortcuts

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