Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitUsageSubscriber ¶
func InitUsageSubscriber()
InitUsageSubscriber inits the api usage subscriber function
func RateProcess ¶
func RateProcess(ch chan models.RateRequest)
RateProcess process the rate update requests. If the rate exceeds the max limit, it will send message to block the api token. For reset type requests it resets the api current usage to 0
Types ¶
Click to show internal directories.
Click to hide internal directories.