perkeep.org: perkeep.org/pkg/blobserver/mongo Index | Files

package mongo

import "perkeep.org/pkg/blobserver/mongo"

Package mongo registers the "mongo" blobserver storage type, storing blobs using MongoDB.

Sample (low-level) config: "/bs/": {

"handler": "storage-mongo",
"handlerArgs": {
   "host": "172.17.0.2",
   "database": "camlitest"
 }

},

Possible parameters: host (optional, defaults to localhost) database (required) collection (optional, defaults to blobs) user (optional) password (optional)

Index

Package Files

enumerate.go fetch.go mongo.go receive.go remove.go stat.go

Package mongo imports 13 packages (graph) and is imported by 1 packages. Updated 2019-06-20. Refresh now. Tools for package owners.