Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCrumb ¶
func CreateCrumb(crumb []interface{}) (int, interface{})
CreateCrumb creates a valid crumb response.
Types ¶
type ChartResponse ¶
type ChartResponse struct {
*Response `json:"chart"`
}
ChartResponse contains a chart response msg.
func CreateChart ¶
func CreateChart(chart interface{}) (int, *ChartResponse)
CreateChart creates a valid chart response.
type ErrorResponse ¶
type ErrorResponse struct {
*Response `json:"error"`
}
ErrorResponse contains a response error msg.
func CreateInternalServerError ¶
func CreateInternalServerError() (int, *ErrorResponse)
CreateInternalServerError creates an internal server error for API issues.
func CreateMissingSymbolsError ¶
func CreateMissingSymbolsError() (int, *ErrorResponse)
CreateMissingSymbolsError creates an missing argument error for API issues.
type OptionsResponse ¶
type OptionsResponse struct {
*Response `json:"optionChain"`
}
OptionsResponse contains a options response msg.
func CreateOptions ¶
func CreateOptions(options interface{}) (int, *OptionsResponse)
CreateOptions creates a valid options response.
type QuoteResponse ¶
type QuoteResponse struct {
*Response `json:"quoteResponse"`
}
QuoteResponse contains a quote response msg.
func CreateQuote ¶
func CreateQuote(quotes []interface{}) (int, *QuoteResponse)
CreateQuote creates a valid quote response.
Click to show internal directories.
Click to hide internal directories.