Documentation ¶
Index ¶
- type Client
- func (c Client) Delete(path string, params interface{}, holder interface{}) error
- func (c Client) Get(path string, params interface{}, holder interface{}) error
- func (c Client) GetAccountByID(accountID string) (*models.Accounts, error)
- func (c Client) GetAccounts() (*models.Accounts, error)
- func (c Client) Post(path string, params interface{}, holder interface{}) error
- func (c Client) Put(path string, params interface{}, holder interface{}) error
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
}
Client is the struct from which all API requests are made
var CoinbaseClient *Client
CoinbaseClient is the global blablabla
func (Client) GetAccountByID ¶
GetAccountByID returns a coinbase account by its ID
func (Client) GetAccounts ¶
GetAccounts returns a list of all coinbase accounts
Click to show internal directories.
Click to hide internal directories.