mongo

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationSession added in v1.24.0

type ConfirmationSession struct {
	*storeStructuredMongo.Session
}

func (*ConfirmationSession) DeleteUserConfirmations added in v1.24.0

func (c *ConfirmationSession) DeleteUserConfirmations(ctx context.Context, userID string) error

func (*ConfirmationSession) EnsureIndexes added in v1.24.0

func (c *ConfirmationSession) EnsureIndexes() error

type Store

type Store struct {
	*storeStructuredMongo.Store
}

func NewStore added in v1.24.0

func NewStore(cfg *storeStructuredMongo.Config, lgr log.Logger) (*Store, error)

func (*Store) EnsureIndexes added in v1.24.0

func (s *Store) EnsureIndexes() error

func (*Store) NewConfirmationSession added in v1.24.0

func (s *Store) NewConfirmationSession() store.ConfirmationSession

Jump to

Keyboard shortcuts

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