urlsigner

package
v0.0.0-...-5d6c776 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT 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