pkg

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillChildren

func KillChildren(p *process.Process)

KillChildren kill all process children of given process

Types

type IdleLoop

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

IdleLoop 空循环, 目的是保持运行以维持心跳和资源的存在

func NewIdleLoop

func NewIdleLoop() *IdleLoop

NewIdleLoop get a new idle loop instance

func (*IdleLoop) Run

func (l *IdleLoop) Run(ctx context.Context) (int, error)

Run brings up idle loop

Jump to

Keyboard shortcuts

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