urlsigner

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	Secret []byte
}

func (*Signer) Expired

func (s *Signer) Expired(token string, minutesUntilExpire int) bool

func (*Signer) GenerateTokenFromString

func (s *Signer) GenerateTokenFromString(data string) string

func (*Signer) VerifyToken

func (s *Signer) VerifyToken(token string) bool

Jump to

Keyboard shortcuts

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