Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SignalCtx context.Context = getSignalContext()
)
Functions ¶
func GetDefaultConfigDirectory ¶ added in v0.8.11
GetDefaultConfigDirectory returns the full path to the .newrelic directory within the user's home directory.
func GetTimestamp ¶ added in v0.8.11
func GetTimestamp() int64
GetTimestamp returns the current epoch timestamp in seconds.
func LogIfError ¶ added in v0.4.0
func LogIfError(err error)
LogIfError wraps the err nil check to cleanup the code. Logs at Error level
func LogIfFatal ¶ added in v0.4.0
func LogIfFatal(err error)
LogIfFatal wraps the err nil check to cleanup the code. Logs at Fatal level
func StructToMap ¶
Types ¶
type StructToMapCallback ¶
Click to show internal directories.
Click to hide internal directories.