chatlog

package
v0.0.0-...-69c762e Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 23 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(configPath string) (*Manager, error)

func (*Manager) CommandDecrypt

func (m *Manager) CommandDecrypt(dataDir string, workDir string, key string, platform string, version int) error

func (*Manager) CommandHTTPServer

func (m *Manager) CommandHTTPServer(addr string, dataDir string, workDir string, platform string, version int) error

func (*Manager) CommandKey

func (m *Manager) CommandKey(pid int) (string, error)

func (*Manager) DecryptDBFiles

func (m *Manager) DecryptDBFiles() error

func (*Manager) GetDataKey

func (m *Manager) GetDataKey() error

func (*Manager) RefreshSession

func (m *Manager) RefreshSession() error

func (*Manager) Run

func (m *Manager) Run() error

func (*Manager) SetHTTPAddr

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

func (*Manager) StartAutoDecrypt

func (m *Manager) StartAutoDecrypt() error

func (*Manager) StartService

func (m *Manager) StartService() error

func (*Manager) StopAutoDecrypt

func (m *Manager) StopAutoDecrypt() error

func (*Manager) StopService

func (m *Manager) StopService() error

func (*Manager) Switch

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