service

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2016 License: Apache-2.0 Imports: 11 Imported by: 565

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