Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Chunks = &topic.Description{ Name: "examples/stream-sum/chunks", } Sums = &topic.Description{ Name: "examples/stream-sum/sums", } )
Functions ¶
Types ¶
type Chunk ¶
type Chunk struct { ID StreamID // Unique ID of the stream. SeqNo int // Monotonic sequence number. One begins a new stream under this unique StreamID. Data []byte // Raw data included in the Value. If empty, this is the stream's final chunk. }
Chunk is an ordered slice of stream content.
Click to show internal directories.
Click to hide internal directories.