/osin-mongo-storage

MongoDB storage for OSIN

Primary LanguageGoMIT LicenseMIT

osin-mongo-storage

Build Status

This package implements the storage interface for OSIN with MongoDB using mgo.

baby-gopher

Docker

The shell scripts under bin/ build a docker image and execute the tests. Make sure that you can run docker without sudo.

Caveats

All structs are serialized as is, i.e. no references are created or resolved.

Currently MongoDB >= 2.6 is required, on 2.4 the TestLoad* Tests fail, but I do not know why.

Examples

See the examples subdirectory for integrating into OSIN.

License

This package is made available under the MIT License