prometheus/storage
Matt T. Proud b2e4c88b80 Wrap LevelDB iterator operations behind interface.
The LevelDB storage types return an interface type now that wraps
around the underlying iterator.  This both enhances testability but
improves upon, in my opinion, the interface design for the LevelDB
iterator.

Secondarily, the resource reaping behaviors for the LevelDB iterators
have been improved by dropping the externalized io.Closer object.

Finally, the iterator provisioning methods provide the option for
indicating whether one wants a snapshotted iterator or not.
2013-03-25 12:57:58 +01:00
..
metric Wrap LevelDB iterator operations behind interface. 2013-03-25 12:57:58 +01:00
raw Wrap LevelDB iterator operations behind interface. 2013-03-25 12:57:58 +01:00
interface.go Address outstanding comments from PR/47 and other cleanups. 2013-02-07 11:38:01 +01:00