mongo

package
v1.29.0-mobile.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*storeStructuredMongo.Config
	Secret string
}

func NewConfig added in v1.20.0

func NewConfig() *Config

func (*Config) Load added in v1.20.0

func (c *Config) Load(configReporter config.Reporter) error

func (*Config) Validate

func (c *Config) Validate() error

type PermissionsSession added in v1.20.0

type PermissionsSession struct {
	*storeStructuredMongo.Session
	// contains filtered or unexported fields
}

func (*PermissionsSession) DestroyPermissionsForUserByID added in v1.20.0

func (p *PermissionsSession) DestroyPermissionsForUserByID(ctx context.Context, userID string) error

type Store

type Store struct {
	*storeStructuredMongo.Store
	// contains filtered or unexported fields
}

func NewStore added in v1.26.0

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

func (*Store) NewPermissionsSession added in v1.20.0

func (s *Store) NewPermissionsSession() store.PermissionsSession

Jump to

Keyboard shortcuts

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