Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentDBStorage ¶
type DocumentDBStorage struct { Client *mongo.Client ConnectionURL string DatabaseName string CollectionName string }
func CreateDocumentDBStorage ¶
func CreateDocumentDBStorage(connectionUrl string, databaseName string, entityName string) (*DocumentDBStorage, error)
func (DocumentDBStorage) GetDocument ¶
func (ds DocumentDBStorage) GetDocument(key string) ([]byte, error)
func (DocumentDBStorage) PutDocument ¶
func (ds DocumentDBStorage) PutDocument(key string, data []byte) error
type StoredDocument ¶
Click to show internal directories.
Click to hide internal directories.