mountmgo

command module
v0.0.0-...-a4eda1b Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2015 License: MIT Imports: 10 Imported by: 0

README

mountMgo

Allows reading a mongodb as a fusefs.

working

  • ls mountpoint/ lists all collections in that database
  • ls mountpoint/collection lists all documents with their _id as filename
  • cat mountpoint/collection/document returns the document content with json.MarshalIndent

todo/ideas

  • collections are only read on startup
  • check some corner cases
  • documents in xxx.index collections don't have _id fields, so they aren't listed yet
  • maybe experiment with mgo's GridFS(http://godoc.org/labix.org/v2/mgo#GridFS)

credits

Documentation

Overview

mountMgo access mongodb databases through fusefs

Jump to

Keyboard shortcuts

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