daemon

package
v1.57.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APP struct{ Main Daemon }

Functions

This section is empty.

Types

type Daemon

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

Daemon 守护进程服务提供者

func (*Daemon) Launch

func (my *Daemon) Launch()

Launch 启动守护进程

func (*Daemon) Once added in v1.54.24

func (*Daemon) Once() *Daemon

Once 获取单例

func (*Daemon) SetLog added in v1.54.24

func (*Daemon) SetLog(dir, filename string) *Daemon

SetLog 设置日志

func (*Daemon) SetLogDir added in v1.54.24

func (*Daemon) SetLogDir(logDir string) *Daemon

SetLogDir 设置日志目录

func (*Daemon) SetLogEnable added in v1.54.24

func (*Daemon) SetLogEnable(enable bool) *Daemon

SetLogEnable 设置日志开关

func (*Daemon) SetLogFilename added in v1.54.24

func (*Daemon) SetLogFilename(logFilename string) *Daemon

SetLogFilename 设置日志文件名

func (*Daemon) SetTitle added in v1.54.24

func (*Daemon) SetTitle(title string) *Daemon

SetTitle 设置标题

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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