14 lines
305 B
Go
14 lines
305 B
Go
package billing
|
|
|
|
import "time"
|
|
|
|
// Per-network daily cap on the free plan. Unit-agnostic.
|
|
const FreemiumDailyLimit = 50
|
|
|
|
type Usage struct {
|
|
Plan Plan `json:"plan"`
|
|
Used int `json:"used"`
|
|
Limit *int `json:"limit"` // nil = unlimited (pro)
|
|
ResetAt time.Time `json:"reset_at"`
|
|
}
|