micro/api
Jake Sanders 1b4e881d74
Rewrite the store interface (#1335)
* WIP store rewrite

* Fix memory store tests

* Store hard expiry times rather than duration!

* Clarify memory test

* Add limit to store interface

* Implement suffix option

* Don't return nils from noop store

* Fix syncmap

* Start fixing store service

* wip service and cache

* Use _ for special characters in cockroachdb namespace

* Improve cockroach namespace comment

* Use service name as default store namespace

* Fixes

* Implement Store Scope

* Start fixing etcd

* implement read and write with expiry and prefix

* Fix etcd tests

* Fix cockroach store

* Fix cloudflare interface

* Fix certmagic / cloudflare store

* comment lint

* cache isn't implemented yet

* Only prepare DB staements once

Co-authored-by: Ben Toogood <ben@micro.mu>
Co-authored-by: ben-toogood <bentoogood@gmail.com>
2020-03-12 13:41:30 +00:00
..
handler minimize allocations in logger and tunnel code (#1323) 2020-03-11 17:55:39 +00:00
internal/proto Further consolidate the libraries 2019-06-03 18:44:43 +01:00
proto fix import paths for v2 release 2020-01-30 14:44:40 +03:00
resolver Use Foo.Call on /foo (#1286) 2020-03-03 16:47:15 +00:00
router fix import paths for v2 release 2020-01-30 14:44:40 +03:00
server Rewrite the store interface (#1335) 2020-03-12 13:41:30 +00:00
api_test.go Further consolidate the libraries 2019-06-03 18:44:43 +01:00
api.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00