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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
func GetAccounts ¶ added in v0.0.2
func GetAccounts() []*Account
func (*Account) DecryptDatabase ¶ added in v0.0.2
DecryptDatabase 解密数据库
func (*Account) RefreshStatus ¶ added in v0.0.2
RefreshStatus 刷新账号的进程状态
type Manager ¶ added in v0.0.2
type Manager struct {
// contains filtered or unexported fields
}
Manager 微信管理器
var DefaultManager *Manager
func (*Manager) DecryptDatabase ¶ added in v0.0.2
func (m *Manager) DecryptDatabase(ctx context.Context, accountName, dbPath, outputPath string) error
DecryptDatabase 便捷方法:通过账号名解密数据库
func (*Manager) GetAccount ¶ added in v0.0.2
GetAccount 获取指定名称的账号
func (*Manager) GetAccounts ¶ added in v0.0.2
GetAccounts 获取所有账号
func (*Manager) GetProcess ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.