Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Transport is the network transport protocol used // by the poller Transport = "udp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poller ¶
type Poller interface { SegmentsChan() <-chan RawSegment Start(receiverLongTermCtx context.Context) Close() error }
Poller represents one or more goroutines that are polling from a UDP socket
type RawSegment ¶
type RawSegment struct { // Payload is the raw bytes that represent one X-Ray segment. Payload []byte // Ctx is the short-lived context created per raw segment received Ctx context.Context }
RawSegment represents a raw X-Ray segment document.
Click to show internal directories.
Click to hide internal directories.