app

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSimpleKey

func GenerateSimpleKey() string

func ReadLastNLines

func ReadLastNLines(filePath string, n int) ([]string, error)

func TempLog

func TempLog() string

Types

type App

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

App 结构体用于管理应用程序状态

func New

func New(version string) *App

New 创建新的应用实例

func (*App) Initialize

func (app *App) Initialize() error

Initialize 初始化应用程序

func (*App) Run

func (app *App) Run()

Run 运行应用程序主循环

func (*App) TriggerCheck

func (app *App) TriggerCheck()

TriggerCheck 供外部调用的触发检测方法

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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