Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrencyQuota ¶
ConcurrencyQuota abstracts an interface that supports acquire and release quota concurrently
func NewConcurrencyQuota ¶
func NewConcurrencyQuota(total int64) ConcurrencyQuota
NewConcurrencyQuota creates a new concurrencyQuotaImpl instance that implements ConcurrencyQuota interface
Click to show internal directories.
Click to hide internal directories.