Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer represents a circular array of data items. It is suitable for (single/multiple) consumers (single/multiple) producers data transfer.
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer represents an entity which can read items from a ring buffer. It maintains its own read index, and cache.
Click to show internal directories.
Click to hide internal directories.