Documentation ¶
Index ¶
- Constants
- func GetConfigDir() string
- func GetNodeId() int
- func GetService(serviceName string) service.IService
- func KillProcess(processId int)
- func OpenProfilerReport(interval time.Duration)
- func RetireProcess(processId int)
- func SetConfigDir(cfgDir string)
- func Setup(s ...service.IService)
- func Start()
- type BuildOSType
Constants ¶
View Source
const ( SingleStop syscall.Signal = 10 SignalRetire syscall.Signal = 12 )
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
func GetConfigDir() string
func GetService ¶
func KillProcess ¶
func KillProcess(processId int)
func OpenProfilerReport ¶
func RetireProcess ¶ added in v1.21.4
func RetireProcess(processId int)
func SetConfigDir ¶
func SetConfigDir(cfgDir string)
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
Click to show internal directories.
Click to hide internal directories.