mongo

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	*mongo.Session
}

func (*Session) DestroySessionsForUserByID

func (s *Session) DestroySessionsForUserByID(userID string) error

type Store

type Store struct {
	*mongo.Store
}

func New

func New(logger log.Logger, config *mongo.Config) (*Store, error)

func (*Store) NewSession

func (s *Store) NewSession(logger log.Logger) (store.Session, error)

Jump to

Keyboard shortcuts

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