mongo

package
v1.20.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: BSD-3-Clause Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	*mongo.Store
}

func New

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

func (*Store) NewSyncTaskSession

func (s *Store) NewSyncTaskSession() store.SyncTaskSession

type SyncTaskSession

type SyncTaskSession struct {
	*mongo.Session
}

func (*SyncTaskSession) DestroySyncTasksForUserByID

func (s *SyncTaskSession) DestroySyncTasksForUserByID(ctx context.Context, userID string) error

Jump to

Keyboard shortcuts

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