Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewsRequest ¶
type NewsRequest struct { // num response NumResponse int32 `json:"NumResponse,omitempty"` // query body QueryBody string `json:"QueryBody,omitempty"` // query type QueryType string `json:"QueryType,omitempty"` // sources list SourcesList []string `json:"SourcesList"` }
NewsRequest NewsRequest
Request to News API for news articles swagger:model NewsRequest
func (*NewsRequest) MarshalBinary ¶
func (m *NewsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewsRequest) UnmarshalBinary ¶
func (m *NewsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewsResponse ¶
type NewsResponse struct { // article list ArticleList []string `json:"ArticleList"` }
NewsResponse NewsResponse
Response to News API for news articles swagger:model NewsResponse
func (*NewsResponse) MarshalBinary ¶
func (m *NewsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewsResponse) UnmarshalBinary ¶
func (m *NewsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StockData ¶
type StockData struct { int32 `json:"ShareValue,omitempty"` }ShareValue
StockData StockData
Object to hold serialized stock data swagger:model StockData
func (*StockData) MarshalBinary ¶
MarshalBinary interface implementation
func (*StockData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.