Writing storage modules

Here follows a stub storage module.

Basics

First we need some initial boilerplate:

Key-Value stores

There's the gist of a key-value store driver:

There's also some additional boilerplate needed to open the store:

Archive stores

Here's an example archive storage driver: