From 215525183dbcfa8646ec8f5bc8f403f8bd8691b9 Mon Sep 17 00:00:00 2001 From: Kristina Hatch <135275866+kristinaElizDev@users.noreply.github.com> Date: Wed, 25 Sep 2024 17:19:52 +0000 Subject: [PATCH] adding missed file --- pkg/base/app_throttle.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/base/app_throttle.go b/pkg/base/app_throttle.go index a11bea70..20f1ea22 100644 --- a/pkg/base/app_throttle.go +++ b/pkg/base/app_throttle.go @@ -18,3 +18,10 @@ func NewAppThrottle(expireAt time.Time, ratio float64) *AppThrottle { } return result } + +// DisplayAppThrottle is a type for displaying data back to the end +// user via chatop. Handles infinite TTL and allows ExpiresAt to be "INFINITE" +type DisplayAppThrottle struct { + ExpireAt string + Ratio float64 +} \ No newline at end of file