memory

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemTokenStore

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

func NewMemTokenStore

func NewMemTokenStore(ttl time.Duration) *MemTokenStore

func (*MemTokenStore) Create

func (s *MemTokenStore) Create(email string) (*webx.Token, error)

func (*MemTokenStore) Delete

func (s *MemTokenStore) Delete(value string)

func (*MemTokenStore) Get

func (s *MemTokenStore) Get(value string) (*webx.Token, error)

func (*MemTokenStore) ListAll

func (s *MemTokenStore) ListAll() ([]*webx.Token, error)

func (*MemTokenStore) MarkVerified

func (s *MemTokenStore) MarkVerified(value string) bool

Jump to

Keyboard shortcuts

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