aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/nxadm/tail/ratelimiter/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nxadm/tail/ratelimiter/storage.go')
-rw-r--r--vendor/github.com/nxadm/tail/ratelimiter/storage.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/nxadm/tail/ratelimiter/storage.go b/vendor/github.com/nxadm/tail/ratelimiter/storage.go
new file mode 100644
index 000000000..89b2fe882
--- /dev/null
+++ b/vendor/github.com/nxadm/tail/ratelimiter/storage.go
@@ -0,0 +1,6 @@
+package ratelimiter
+
+type Storage interface {
+ GetBucketFor(string) (*LeakyBucket, error)
+ SetBucketFor(string, LeakyBucket) error
+}