store

package
v0.0.0-...-0b01d8e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT 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(uri string) (*MongoStore, error)

func (*MongoStore) Delete

func (s *MongoStore) Delete(key string) error

func (*MongoStore) Get

func (s *MongoStore) Get(key string) (*db.User, error)

func (*MongoStore) Set

func (s *MongoStore) Set(key, user *db.User) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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