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

package mongo

import "camlistore.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 12 packages (graph) and is imported by 4 packages. Updated 2018-01-15. Refresh now. Tools for package owners.