daemon

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Daemon

func Daemon(f func())

阻塞调用。 创建一个守护进程和一个子进程。 守护进程: 守护进程监视子进程的运行,当子进程退出后,守护进程创建一个新的子进程。 子进程: 子进程运行参数f函数。

Types

type Msg

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

func (*Msg) Get

func (m *Msg) Get(v1 int, v2 *bool) error

Jump to

Keyboard shortcuts

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