node

package
v1.21.10 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

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