package
2.13.8+incompatible
Repository: https://github.com/newrelic/nri-rabbitmq.git
Documentation: pkg.go.dev
# Functions
GetTestingEntity creates an Entity used for testing.
GetTestingIntegration creates an Integration used for testing and sets the logger to the integration's logger.
GetTestServer creates a test server.
ReadStructFromJSONFile Unmarshals the json file into the specified object.
ReadStructFromJSONString reads a generic map[string]interface{} from a json string.
# Variables
Update flag will update .golden files to the current actual.
# Structs
TestLogger a logger that logs to a generic format function, used with testing.T.Logf.