buntdb

package
v0.0.0-...-eb626f9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 5 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 NewStore

func NewStore(path string) (*Store, error)

func (*Store) Check

func (a *Store) Check(ctx context.Context, tokenString string) (bool, error)

func (*Store) Close

func (a *Store) Close() error

func (*Store) Delete

func (a *Store) Delete(ctx context.Context, tokenString string) error

func (*Store) Set

func (a *Store) Set(ctx context.Context, tokenString string, expiration time.Duration) error

Jump to

Keyboard shortcuts

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