apitypes

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Phase

type Phase struct {
	Effective time.Time
	Features  []string
}

type PhasesResponse

type PhasesResponse struct {
	Org    string
	Phases []Phase
}

type ReportRequest

type ReportRequest struct {
	Org     string
	Feature string
	N       int
	At      time.Time
	Clobber bool
}

type SubscribeRequest

type SubscribeRequest struct {
	Org    string
	Phases []Phase
}

type Usage

type Usage struct {
	Feature string `json:"feature"`
	Used    int    `json:"used"`
	Limit   int    `json:"limit"`
}

type UsageResponse

type UsageResponse struct {
	Org   string  `json:"org"`
	Usage []Usage `json:"usage"`
}

type WhoIsResponse

type WhoIsResponse struct {
	Org      string `json:"org"`
	StripeID string `json:"stripe_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL