store

package
v0.0.0-...-829bc2e Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	Find(string) ([]*pb.Product, error)
	Get(string) (*pb.Product, error)
	List() ([]*pb.Product, error)
	LoadCatalog() error
	Disconnect()
}

Store interface

func NewMogoStore

func NewMogoStore(log *logrus.Logger) (Store, error)

NewMogoStore initialize a new Mongodb connexion

Jump to

Keyboard shortcuts

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