Documentation ¶
Index ¶
- type Client
- func (c *Client) Auth(username, password string) (string, bool)
- func (c *Client) Derivatives() *Resource
- func (c *Client) Dex() *Resource
- func (c *Client) History(year int) *HistoryResource
- func (c *Client) Lending() *Resource
- func (c *Client) LivePrice() *PriceResource
- func (c *Client) News() *Resource
- func (c *Client) Spot() *Resource
- func (c *Client) TopGainers() *Resource
- func (c *Client) TopLosers() *Resource
- type HistoryResource
- type HttpClient
- type PriceResource
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Derivatives ¶
func (*Client) History ¶
func (c *Client) History(year int) *HistoryResource
func (*Client) LivePrice ¶
func (c *Client) LivePrice() *PriceResource
func (*Client) TopGainers ¶
type HistoryResource ¶
type HistoryResource struct {
Resource
}
func NewHistoryResource ¶
func NewHistoryResource(year int) *HistoryResource
func (*HistoryResource) GetBySymbol ¶
func (r *HistoryResource) GetBySymbol(symbol string) (*simplejson.Json, error)
type HttpClient ¶
type PriceResource ¶
type PriceResource struct {
Resource
}
func NewPriceResource ¶
func NewPriceResource() *PriceResource
func (*PriceResource) GetBySymbol ¶
func (r *PriceResource) GetBySymbol(symbol string) (*simplejson.Json, error)
Click to show internal directories.
Click to hide internal directories.