node

package
v1.18.6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 SetConfigDir

func SetConfigDir(configDir string)

func SetSysLog

func SetSysLog(strLevel string, pathname string, flag int)

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