mongo

package
v1.20.0-dexcom-api.9 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2017 License: BSD-3-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 {
	*mongo.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 {
	*mongo.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 {
	*mongo.Store
	// contains filtered or unexported fields
}

func New

func New(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