chatlog

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 19 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) 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) Run

func (m *Manager) Run() error

func (*Manager) SetHTTPAddr added in v0.0.4

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

func (*Manager) StartService

func (m *Manager) StartService() error

func (*Manager) StopService

func (m *Manager) StopService() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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