Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Statuses statuses `json:"statuses"` LargeStatus string `json:"largestatus"` Message string `json:"message"` Time string `json:"time"` }
Response contains the structure of system statuses from Stripe
func GetStatus ¶
GetStatus makes a request to the Stripe status site and returns all the current system statuses
func (*Response) FormattedMessage ¶
FormattedMessage returns a properly structured API status response in either a json structure or a templated plain text output, conditionally populated with extra data depending on verbosity
Click to show internal directories.
Click to hide internal directories.