diff --git a/controller/limits/model.go b/controller/limits/model.go index 2753da32..b4c1a1ad 100644 --- a/controller/limits/model.go +++ b/controller/limits/model.go @@ -2,14 +2,14 @@ package limits import "github.com/openziti/zrok/controller/store" -type AccountStrategy interface { +type AccountAction interface { HandleAccount(a *store.Account, rxBytes, txBytes int64, limit *BandwidthPerPeriod) error } -type EnvironmentStrategy interface { +type EnvironmentAction interface { HandleEnvironment(e *store.Environment, rxBytes, txBytes int64, limit *BandwidthPerPeriod) error } -type ShareStrategy interface { +type ShareAction interface { HandleShare(s *store.Share, rxBytes, txBytes int64, limit *BandwidthPerPeriod) error }