eventtest
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package eventtest supports logging events to a test.You can use NewContext to create a context that knows how to delivertelemetry events back to the test.You must use this context or a derived one anywhere you want telemetry to becorrectly routed back to the test it was constructed with.Any events delivered to a background context will be dropped.
Importing this package will cause it to register a new global telemetryexporter that understands the special contexts returned by NewContext.This means you should not import this package if you are not going to callNewContext.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
Types¶
This section is empty.