Documentation ¶
Index ¶
- type Config
- type Wallet
- func (w *Wallet) AddrPort() string
- func (w *Wallet) GetBalance() (float64, error)
- func (w *Wallet) GetInfo() (*btcjson.InfoResult, error)
- func (w *Wallet) ListAccounts() (map[string]float64, error)
- func (w *Wallet) ListTransactions(args []interface{}) ([]btcjson.ListTransactionsResult, error)
- func (w *Wallet) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func ParseConfig ¶
ParseConfig parses the Configuration file and return pointer of Config struct
type Wallet ¶
type Wallet struct { Enable bool `json:"enable"` Name string `json:"name"` Symbol string `json:"symbol"` Host string `json:"host"` Port int `json:"port"` User string `json:"user"` Password string `json:"password"` }
func (*Wallet) GetBalance ¶
GetBalance retreive the total balance of the wallet
func (*Wallet) ListTransactions ¶
func (w *Wallet) ListTransactions(args []interface{}) ([]btcjson.ListTransactionsResult, error)
ListTransactions return count transactions from account begining with from transaction Args can be acount string count int from int
Click to show internal directories.
Click to hide internal directories.