# Packages
Package xraytest contains test helpers for package xray that are used by transport-specific X-Ray middleware tests.
# Functions
Connect creates a goroutine to periodically re-dial a connection, so the hostname can be re-resolved if the IP changes.
NewID is a span ID creation algorithm which produces values that are compatible with AWS X-Ray.
NewSegment creates a new segment that gets written to the given connection on close.
NewTraceID is a trace ID creation algorithm which produces values that are compatible with AWS X-Ray.