valid

package
v0.0.0-...-918653d Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package valid does validation of various data types. For the most part, its functions are used by servers and enforce stronger constraints than client code needs to follow.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Token

func Token(token ledger.Token) error

Token verifies that the token is a valid non-empty string. It also requires that the string does not start with a "-".

Types

This section is empty.

Jump to

Keyboard shortcuts

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