pomerium/cache
Cuong Manh Le 2f84dd2aff
Add storage backend interface (#1072)
* pkg: add storage package

Which contains storage.Backend interface to initial support for multiple
backend storage.

* pkg/storage: add inmemory storage

* internal/databroker: use storage.Backend interface

Instead of implementing multiple databroker server implementation for
each kind of storage backend, we use only one databroker server
implementation, which is supported multiple storage backends, which
satisfy storage.Backend interface.
2020-07-15 09:42:01 +07:00
..
cache.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
cache_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
databroker.go Add storage backend interface (#1072) 2020-07-15 09:42:01 +07:00
memberlist.go cache: fix data race in NotifyJoin (#1028) 2020-07-01 00:11:40 +07:00
memberlist_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
session.go grpc: rename internal/grpc to pkg/grpc (#1010) 2020-06-26 09:17:02 -06:00
user.go grpc: rename internal/grpc to pkg/grpc (#1010) 2020-06-26 09:17:02 -06:00