zrok/controller/limits/model.go

11 lines
252 B
Go
Raw Normal View History

package limits
import (
"github.com/jmoiron/sqlx"
"github.com/openziti/zrok/controller/store"
)
2023-03-23 22:07:48 +01:00
type AccountAction interface {
HandleAccount(a *store.Account, rxBytes, txBytes int64, bwc store.BandwidthClass, ul *userLimits, trx *sqlx.Tx) error
}