service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeforeRun

func BeforeRun()

func Cleanup

func Cleanup()

func HandleSignals

func HandleSignals(stopFunction func())

Handles OS signals that ask the service/daemon to stop. The stopFunction should break the loop in the Beat so that the service shut downs gracefully.

func ProcessWindowsControlEvents

func ProcessWindowsControlEvents(stopCallback func())

On non-windows platforms, this function does nothing.

func WithCpuProfile

func WithCpuProfile() bool

func WithMemProfile

func WithMemProfile() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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