boltdb/bolt

Hooks

dc0d opened this issue · 0 comments

dc0d commented

Is it possible/an_API for adding hooks?

For example having a hook, for adding a functionality, just before commit. And having access to all bucket/(key, value) pairs that are staged for that commit.

I've taken a look into storm and implementing a full wrapper for boltdb, to achieve just this, seems a bit heavy.