tokenstore

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 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 Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(ttl time.Duration) *Store

func (*Store) Register

func (s *Store) Register(value string) string

func (*Store) Revoke

func (s *Store) Revoke(value string)

func (*Store) Stop

func (s *Store) Stop()

func (*Store) Validate

func (s *Store) Validate(token string) string

Jump to

Keyboard shortcuts

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