From 14c299ee80285affe38cbdd16e70ce345fc484cc Mon Sep 17 00:00:00 2001 From: Michael Quigley <michael@quigley.com> Date: Thu, 23 Mar 2023 17:07:48 -0400 Subject: [PATCH] strategy -> action (#276) --- controller/limits/model.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }