protected

package
v1.13.12 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeySalt    string
	EnvKeyName string
)

Functions

func Decode

func Decode(token string) (_ url.Values, err error)

Decode decodes a protected token.

func Encode

func Encode(params url.Values) (token string, err error)

Encode encodes a protected token from params.

Types

This section is empty.

Jump to

Keyboard shortcuts

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