lox/httpcache — pull request #3 by lox (2014-08-26 09:02:01+00:00)
Title: Add a mutex per key, use same storeMutex across all stores

Previously there was a single mutex in `MapStore` and `FileStore` that locked access to the contents. This didn't work for copies, as multiple locks were needed at the same time.

This also changes the Store API to return a `WriteCloser` for `Write` and a `ReadCloser` for `Read`. This is more go-like and easier to work with.