node

package
v2.0.4 Latest Latest
Warning

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

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

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() string

func GetService

func GetService(serviceName string) service.IService

func KillProcess

func KillProcess(processId int)

func OpenProfilerReport

func OpenProfilerReport(interval time.Duration)

func RetireProcess

func RetireProcess(processId int)

func SetConfigDir

func SetConfigDir(cfgDir string)

func Setup

func Setup(s ...service.IService)

func Start

func Start()

Types

type BuildOSType

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

func GetBuildOSType

func GetBuildOSType() BuildOSType

Jump to

Keyboard shortcuts

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