package
3.11.0-beta3+incompatible
Repository: https://github.com/signalfx/neo-agent.git
Documentation: pkg.go.dev
# Functions
AdvancedNow returns a now time.Now-compatible function that returns the time returned from oldNow advanced by the given Duration d.
CloneTestData clones the test data into a temporary directory and changes the working directory to the temporary directory.
Dump i to stdout using JSON.
LoadJSON unmarshals JSON for a test.
Must calls fatal in the given test if err is non-nil.
NewTestOutput creates a new initialized TestOutput instance.
PinnedNow returns a function that is compatible with time.Now that always returns the given t Time.
# Variables
FixedTime is always at 2016-01-05T15:04:05-06:00.
# Structs
TestOutput can be used in place of the normal monitor outut to provide a simpler way of testing monitor output.