quota

package
v0.0.0-...-900be4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidQuotaTarget = errors.New("invalid quota target")

Functions

This section is empty.

Types

type QuotaService

type QuotaService struct {
	AuthTokenService models.UserTokenService `inject:""`
	Cfg              *setting.Cfg            `inject:""`
}

func (*QuotaService) Init

func (qs *QuotaService) Init() error

func (*QuotaService) QuotaReached

func (qs *QuotaService) QuotaReached(c *models.ReqContext, target string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL