Skip to content

Commit

Permalink
adding missed file
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaElizDev committed Sep 25, 2024
1 parent c1464ed commit 2155251
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/base/app_throttle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 2155251

Please sign in to comment.