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)
Click to show internal directories.
Click to hide internal directories.