node

package
v1.21.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 19 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	SingleStop   syscall.Signal = 10
	SignalRetire syscall.Signal = 12
)

Variables

This section is empty.

Functions

func GetConfigDir

func GetConfigDir() string

func GetNodeId

func GetNodeId() int

func GetService

func GetService(serviceName string) service.IService

func KillProcess

func KillProcess(processId int)

func OpenProfilerReport

func OpenProfilerReport(interval time.Duration)

func RetireProcess added in v1.21.4

func RetireProcess(processId int)

func SetConfigDir

func SetConfigDir(cfgDir string)

func Setup

func Setup(s ...service.IService)

func Start

func Start()

Types

type BuildOSType added in v1.18.6

type BuildOSType = int8
const (
	Windows BuildOSType = 0
	Linux   BuildOSType = 1
	Mac     BuildOSType = 2
)

func GetBuildOSType added in v1.18.6

func GetBuildOSType() BuildOSType

Jump to

Keyboard shortcuts

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