Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface { LogIn(userName string, password string) (retObjSettings Settings, retObjAuth Auth, err error) LogInCached(userName string) (retObjSettings Settings, retObjAuth Auth, err error) SaveCachedToken(userName string, token string) (err error) GetUserName() (retVal string) GetUserToken() (retVal string) RenewToken() (err error) }
type Balance ¶
type Balance struct { Positions []WalletPosition Gain float64 Deposits float64 }
type CoinConfig ¶
type KunaOrder ¶
type KunaOrder struct { ID int `json:"id"` Side string `json:"side"` OrdType string `json:"ord_type"` Price string `json:"price"` AvgPrice string `json:"avg_price"` State string `json:"state"` Market string `json:"market"` CreatedAt time.Time `json:"created_at"` Volume string `json:"volume"` RemainingVolume string `json:"remaining_volume"` ExpectedVolume string `json:"executed_volume"` TradesCount int `json:"trades_count"` }
type KunaOrdersBook ¶
type MinerEntry ¶
type MinerEntry struct { MinerName string Currency string RunningTime string Hashrate []string MiningPool []string Cards []CardEntry }
func (*MinerEntry) SetFieldForIndex ¶
func (this *MinerEntry) SetFieldForIndex(data string, index int)
func (MinerEntry) ShortDesc ¶
func (miner MinerEntry) ShortDesc() (retVal string)
type TelegramSettings ¶
type TelegramSettings struct {
LastUpdate int
}
type TelegramUser ¶
type TransactionEntry ¶
Click to show internal directories.
Click to hide internal directories.