Documentation ¶
Index ¶
- Constants
- func UsageByFeature(a, b Usage) bool
- type CheckoutRequest
- type CheckoutResponse
- type Error
- type Feature
- type InvoiceSettings
- type Model
- type OrgInfo
- type Phase
- type PhaseResponse
- type Plan
- type PushResponse
- type PushResult
- type ReportRequest
- type ScheduleRequest
- type ScheduleResponse
- type Tier
- type Usage
- type UsageResponse
- type WhoAmIResponse
- type WhoIsResponse
Constants ¶
View Source
const Inf = 1<<63 - 1
Variables ¶
This section is empty.
Functions ¶
func UsageByFeature ¶ added in v0.3.8
Types ¶
type CheckoutRequest ¶ added in v0.7.1
type CheckoutResponse ¶ added in v0.7.1
type CheckoutResponse struct {
URL string `json:"url"`
}
type Error ¶ added in v0.5.0
type InvoiceSettings ¶ added in v0.7.1
type InvoiceSettings struct {
DefaultPaymentMethod string `json:"default_payment_method"`
}
type PhaseResponse ¶ added in v0.3.8
type PhaseResponse struct { Effective time.Time `json:"effective,omitempty"` Features []refs.FeaturePlan `json:"features,omitempty"` Plans []refs.Plan `json:"plans,omitempty"` Fragments []refs.FeaturePlan `json:"fragments,omitempty"` }
type PushResponse ¶ added in v0.4.2
type PushResponse struct {
Results []PushResult `json:"results,omitempty"`
}
type PushResult ¶ added in v0.4.2
type PushResult struct { Feature refs.FeaturePlan `json:"feature"` Status string `json:"status"` Reason string `json:"reason"` }
type ReportRequest ¶
type ScheduleRequest ¶ added in v0.6.0
type ScheduleResponse ¶ added in v0.7.1
type ScheduleResponse struct{}
ScheduleResponse is the expected response from a schedule request. It is currently empty, reserved for furture use.
type Tier ¶ added in v0.4.2
type Tier struct { Upto int `json:"upto,omitempty"` Price float64 `json:"price,omitempty"` Base int `json:"base,omitempty"` }
func (*Tier) MarshalJSON ¶ added in v0.4.2
func (*Tier) UnmarshalJSON ¶ added in v0.4.2
type UsageResponse ¶
type WhoAmIResponse ¶ added in v0.5.0
type WhoIsResponse ¶
Click to show internal directories.
Click to hide internal directories.