From 89586b42794f96d8eec73aaca8845487cb4d6f4b Mon Sep 17 00:00:00 2001 From: Clivern Date: Sun, 24 Jan 2021 15:12:46 +0100 Subject: [PATCH] init --- core/component/key_store.go | 8 ++++++++ core/component/rate_limiter.go | 8 ++++++++ rfc/.gitkeep | 0 3 files changed, 16 insertions(+) create mode 100644 rfc/.gitkeep diff --git a/core/component/key_store.go b/core/component/key_store.go index 45ae4b9..8e704c4 100644 --- a/core/component/key_store.go +++ b/core/component/key_store.go @@ -3,3 +3,11 @@ // license that can be found in the LICENSE file. package component + +// KeyStore interface +type KeyStore interface { +} + +// RedisKeyStore struct +type RedisKeyStore struct { +} diff --git a/core/component/rate_limiter.go b/core/component/rate_limiter.go index 45ae4b9..c0bebce 100644 --- a/core/component/rate_limiter.go +++ b/core/component/rate_limiter.go @@ -3,3 +3,11 @@ // license that can be found in the LICENSE file. package component + +// RateLimiter interface +type RateLimiter interface { +} + +// RedisRateLimiter struct +type RedisRateLimiter struct { +} diff --git a/rfc/.gitkeep b/rfc/.gitkeep new file mode 100644 index 0000000..e69de29