mongo

package
v1.24.0-basal-automated.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationSession

type ConfirmationSession struct {
	*mongo.Session
}

func (*ConfirmationSession) DeleteUserConfirmations

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

func (*ConfirmationSession) EnsureIndexes

func (c *ConfirmationSession) EnsureIndexes() error

type Store

type Store struct {
	*mongo.Store
}

func NewStore

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

func (*Store) EnsureIndexes

func (s *Store) EnsureIndexes() error

func (*Store) NewConfirmationSession

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

Jump to

Keyboard shortcuts

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