mongo

package
v1.30.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfilesSession added in v1.20.0

type ProfilesSession struct {
	*storeStructuredMongo.Session
}

func (*ProfilesSession) DestroyProfileByID added in v1.20.0

func (p *ProfilesSession) DestroyProfileByID(ctx context.Context, profileID string) error

func (*ProfilesSession) GetProfileByID added in v1.20.0

func (p *ProfilesSession) GetProfileByID(ctx context.Context, profileID string) (*profile.Profile, error)

type Store

type Store struct {
	*storeStructuredMongo.Store
}

func NewStore added in v1.26.0

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

func (*Store) NewProfilesSession added in v1.20.0

func (s *Store) NewProfilesSession() store.ProfilesSession

Jump to

Keyboard shortcuts

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