util

package
v0.0.0-...-fbe9a17 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMustEncodeFirst     = errors.New("must encode token first")
	ErrMissingPrivateKey   = errors.New("missing private key")
	ErrMissingPublicKey    = errors.New("missing public key")
	ErrMissingSymmetricKey = errors.New("missing symmetric key")
)

Token errors

Functions

func ErrInvalidParameter

func ErrInvalidParameter(name string) error

ErrInvalidParameter reports an incorrect value for a parameter.

func ErrMissingParameter

func ErrMissingParameter(name string) error

ErrMissingParameter reports a missing value for a required paramter.

func ErrUnsupportedValue

func ErrUnsupportedValue(name, value string) error

ErrUnsupportedValue reports an incorrect value for an enum or for a variable with a discrete set of options.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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