Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BestSpotChoiceRequest ¶
type BestSpotChoiceResponse ¶
type BestSpotChoiceResponse struct { VMType string `json:"skuName"` Location string `json:"location"` Price float64 `json:"latestSpotPriceUSD"` }
func GetBestSpotChoice ¶
func GetBestSpotChoice(r BestSpotChoiceRequest) (*BestSpotChoiceResponse, error)
This function will return the best spot option
Click to show internal directories.
Click to hide internal directories.