Documentation
¶
Index ¶
- func GetProcess(name string) (*model.Process, error)
- func Load() error
- type Account
- type Manager
- func (m *Manager) DecryptDatabase(ctx context.Context, accountName, dbPath, outputPath string) error
- func (m *Manager) GetAccount(name string) (*Account, error)
- func (m *Manager) GetAccounts() []*Account
- func (m *Manager) GetProcess(name string) (*model.Process, error)
- func (m *Manager) Load() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct {
Name string
Platform string
Version int
FullVersion string
DataDir string
Key string
ImgKey string
PID uint32
ExePath string
Status string
}
Account 表示一个微信账号
func GetAccount ¶
func GetAccounts ¶
func GetAccounts() []*Account
func (*Account) DecryptDatabase ¶
DecryptDatabase 解密数据库
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager 微信管理器
var DefaultManager *Manager
func (*Manager) DecryptDatabase ¶
func (m *Manager) DecryptDatabase(ctx context.Context, accountName, dbPath, outputPath string) error
DecryptDatabase 便捷方法:通过账号名解密数据库
func (*Manager) GetAccount ¶
GetAccount 获取指定名称的账号
Click to show internal directories.
Click to hide internal directories.