chatlog

package
v0.0.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RefreshInterval = 1000 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*tview.Application
	// contains filtered or unexported fields
}

func NewApp

func NewApp(ctx *ctx.Context, m *Manager) *App

func (*App) Run

func (a *App) Run() error

func (*App) Stop

func (a *App) Stop()

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager 管理聊天日志应用

func New

func New() *Manager

func (*Manager) CommandDecrypt

func (m *Manager) CommandDecrypt(configPath string, cmdConf map[string]any) error

func (*Manager) CommandHTTPServer added in v0.0.12

func (m *Manager) CommandHTTPServer(configPath string, cmdConf map[string]any) error

func (*Manager) CommandKey

func (m *Manager) CommandKey(configPath string, pid int, force bool, showXorKey bool) (string, error)

func (*Manager) DecryptDBFiles

func (m *Manager) DecryptDBFiles() error

func (*Manager) GetDataKey

func (m *Manager) GetDataKey() error

func (*Manager) RefreshSession added in v0.0.11

func (m *Manager) RefreshSession() error

func (*Manager) Run

func (m *Manager) Run(configPath string) error

func (*Manager) SetHTTPAddr added in v0.0.4

func (m *Manager) SetHTTPAddr(text string) error

func (*Manager) StartAutoDecrypt added in v0.0.11

func (m *Manager) StartAutoDecrypt() error

func (*Manager) StartService

func (m *Manager) StartService() error

func (*Manager) StopAutoDecrypt added in v0.0.11

func (m *Manager) StopAutoDecrypt() error

func (*Manager) StopService

func (m *Manager) StopService() error

func (*Manager) Switch added in v0.0.11

func (m *Manager) Switch(info *iwechat.Account, history string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL