Documentation ¶
Index ¶
- type Activity
- type ActivityCompletion
- type AlgoStats
- type Balance
- type Client
- func (c *Client) AccountingActivity(currency Currency, typ Activity, stage ActivityCompletion) ([]Transaction, error)
- func (c *Client) AccountingBalance(currency Currency) (*Balance, error)
- func (c *Client) AlgoStats() (map[string]AlgoStats, error)
- func (c *Client) MiningAddress() (string, error)
- func (c *Client) Rigs() ([]Rig, error)
- type Currency
- type Rig
- type RigStats__
- type Time
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityCompletion ¶
type ActivityCompletion string
const ( COMPLETED ActivityCompletion = "COMPLETED" OPEN ActivityCompletion = "OPEN" ALL ActivityCompletion = "ALL" )
type Balance ¶
type Balance struct { Active bool TotalBalance bitcoin.Amount Available bitcoin.Amount Debt bitcoin.Amount Pending bitcoin.Amount }
type Client ¶
func (*Client) AccountingActivity ¶
func (c *Client) AccountingActivity(currency Currency, typ Activity, stage ActivityCompletion) ([]Transaction, error)
func (*Client) AccountingBalance ¶
func (*Client) MiningAddress ¶
type RigStats__ ¶
type RigStats__ struct { TimeStamp int64 `json:"statsTime"` Market string `json:"market"` UnpaidAmount bitcoin.Amount `json:"unpaidAmount"` Difficulty float64 `json:"difficulty"` ProxyID int `json:"proxyId"` TimeConnected int64 `json:"timeConnected"` SpeedAccepted float64 `json:"speedAccepted"` Profitability float64 `json:"profitability"` }
Click to show internal directories.
Click to hide internal directories.