Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Username string `json:"username"`
Password string `json:"-"`
Cookie string `json:"-"`
Secret string `json:"-"`
EncryptedPassword string `json:"encrypted_password"`
}
func (*Account) GetPassword ¶
type Config ¶
type Config struct {
DefaultAccount string `json:"default_account"`
Accounts []*Account `json:"accounts"`
}
func (*Config) AddAccount ¶
func (*Config) DelAccount ¶
func (*Config) GetAccount ¶
func (*Config) GetDefaultAccount ¶
func (*Config) SetDefaultAccount ¶
type Info ¶
func (*Info) FormattedBalance ¶
func (*Info) FormattedTraffic ¶
func (*Info) FormattedUsedTime ¶
Click to show internal directories.
Click to hide internal directories.