1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00
Files
os/vendor/github.com/packethost/packngo/rate.go
Darren Shepherd 946d353e0c vendor packngo
2016-01-28 08:11:54 -07:00

12 lines
274 B
Go

package packngo
// Rate provides the API request rate limit details
type Rate struct {
RequestLimit int `json:"request_limit"`
RequestsRemaining int `json:"requests_remaining"`
Reset Timestamp `json:"rate_reset"`
}
func (r Rate) String() string {
return Stringify(r)
}