mirror of
https://github.com/openziti/zrok.git
synced 2024-11-29 11:34:07 +01:00
18 lines
389 B
Go
18 lines
389 B
Go
package limits
|
|
|
|
import (
|
|
"github.com/jmoiron/sqlx"
|
|
"github.com/openziti/zrok/controller/store"
|
|
"github.com/openziti/zrok/sdk/golang/sdk"
|
|
)
|
|
|
|
type userLimits struct {
|
|
resource store.ResourceCountClass
|
|
bandwidth store.BandwidthClass
|
|
scopes map[sdk.BackendMode]store.BandwidthClass
|
|
}
|
|
|
|
func (a *Agent) getUserLimits(acctId int, trx *sqlx.Tx) (*userLimits, error) {
|
|
return nil, nil
|
|
}
|