redirecttokens

package
v0.0.0-...-80b3b37 Latest Latest
Warning

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

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

Documentation

Overview

Package redirecttokens creates and validates web redirects.

Index

Constants

View Source
const RedirectTokenLifetime = 5 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	tokens.GeneratorConfig
}

func (*Config) New

func (c *Config) New(dest string) (string, error)

func (*Config) Unmarshal

func (c *Config) Unmarshal(token string) (string, error)

Jump to

Keyboard shortcuts

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