sharetoken

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoStore

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

func NewMongoStore

func NewMongoStore(client mongo.DbClient, logger zerolog.Logger) *MongoStore

func (*MongoStore) Access

func (s *MongoStore) Access(ctx context.Context, v string) error

func (*MongoStore) DeleteExpired

func (s *MongoStore) DeleteExpired(ctx context.Context) error

func (*MongoStore) Exists

func (s *MongoStore) Exists(ctx context.Context, v string) (bool, error)

Jump to

Keyboard shortcuts

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