Documentation
¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GracefulExitTimeout = 10 * time.Second GracefulExitTimeoutErr = errors.New("graceful stop time exceeded... forcing stop") )
Functions ¶
func GetCommandPath ¶
GetCommandPath returns the absolute path of the agent binary that should be run.
func WaitForExitOrTimeout ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a wrapper object which provides the necessary hooks to start/stop the agent as a service
Click to show internal directories.
Click to hide internal directories.