Documentation
¶
Index ¶
- Variables
- func Balance() (string, error)
- func Buy(name, email, cell string) (string, error)
- func FreshMiners() error
- func GetWalletInfo() (string, error)
- func InitBeetle(basdir string, bypassIPs string) bool
- func InputPacket(data []byte) error
- func IsGlobalMode() bool
- func IsWalletCreate() bool
- func IsWalletOpen() bool
- func LicenseLog() ([]string, error)
- func LicenseRenew(tx string) (string, error)
- func ListAllMiner() ([]string, error)
- func LoadBypassIPs(bypassIPs string)
- func LoadFromBootsTrap() error
- func OpenWallet(auth string) error
- func Ping(minerId string) (int64, error)
- func QueryPrice(month int, payType int, addr string) (string, error)
- func RefreshLicense() error
- func SetGlobalModel(g bool)
- func ShowLicense() (string, error)
- func StartBeetle() error
- func StartVpn(minerId string, d VpnDelegate) error
- func StopBeetle() error
- func StopVpn() error
- func VpnIsStarted() bool
- type Beetle
- type TransactionItem
- type VpnDelegate
Constants ¶
This section is empty.
Variables ¶
View Source
var TunInst *tun2Pipe.Tun2Pipe = nil
Functions ¶
func FreshMiners ¶
func FreshMiners() error
func GetWalletInfo ¶
func InitBeetle ¶
func InputPacket ¶
func IsGlobalMode ¶
func IsGlobalMode() bool
func IsWalletCreate ¶
func IsWalletCreate() bool
func IsWalletOpen ¶
func IsWalletOpen() bool
func LicenseLog ¶
func LicenseRenew ¶
func ListAllMiner ¶
func LoadBypassIPs ¶
func LoadBypassIPs(bypassIPs string)
func LoadFromBootsTrap ¶
func LoadFromBootsTrap() error
func OpenWallet ¶
func RefreshLicense ¶
func RefreshLicense() error
func SetGlobalModel ¶
func SetGlobalModel(g bool)
func ShowLicense ¶
func StartBeetle ¶
func StartBeetle() error
func StartVpn ¶
func StartVpn(minerId string, d VpnDelegate) error
func StopBeetle ¶
func StopBeetle() error
func VpnIsStarted ¶
func VpnIsStarted() bool
Types ¶
type TransactionItem ¶
type TransactionItem struct {
TxStr string `json:"tx_str"`
*db.ClientTranstionItem
}
Click to show internal directories.
Click to hide internal directories.