Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BlockFlagEndOfDataCount uint8 = 64 // BlockFlagSuspectErrors uint8 = 32 BlockFlagEndOfData uint8 = 8 )
Extended Block Header Flags
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
The header is sent over the data channels and indicates information about the following data (if any) See https://www.ogf.org/documents/GWD-R/GFD-R.020.pdf section "Extended Block Mode"
func (*Header) ContainsFlag ¶
func (*Header) GetEODCount ¶
type Segment ¶
func NewSegmentWithHeader ¶
type SegmentQueue ¶
type SegmentQueue struct {
// contains filtered or unexported fields
}
func NewSegmentQueue ¶
func NewSegmentQueue(workers int) *SegmentQueue
func (*SegmentQueue) Len ¶
func (q *SegmentQueue) Len() int
func (*SegmentQueue) Peek ¶
func (q *SegmentQueue) Peek() *Segment
func (*SegmentQueue) Pop ¶
func (q *SegmentQueue) Pop() *Segment
func (*SegmentQueue) Push ¶
func (q *SegmentQueue) Push(segment *Segment)
func (*SegmentQueue) PushChannel ¶
func (q *SegmentQueue) PushChannel() (chan<- *Segment, <-chan *Segment)
Click to show internal directories.
Click to hide internal directories.