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: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessagesSession added in v1.20.0

type MessagesSession struct {
	*storeStructuredMongo.Session
}

func (*MessagesSession) DeleteMessagesFromUser added in v1.20.0

func (m *MessagesSession) DeleteMessagesFromUser(ctx context.Context, user *store.User) error

func (*MessagesSession) DestroyMessagesForUserByID added in v1.20.0

func (m *MessagesSession) DestroyMessagesForUserByID(ctx context.Context, userID string) 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) NewMessagesSession added in v1.20.0

func (s *Store) NewMessagesSession() store.MessagesSession

Jump to

Keyboard shortcuts

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