Documentation
¶
Index ¶
- type Block
- func (b *Block[T]) CopyTimestamp(ts *Timestamp) *Timestamp
- func (b *Block[T]) End() bool
- func (b *Block[T]) Less(other *Block[T]) bool
- func (b *Block[T]) Remainder() int
- func (b *Block[T]) Reset()
- func (b *Block[T]) String() string
- func (b *Block[T]) Write(source *Block[T], ts *Timestamp) int
- func (b *Block[T]) WriteRaw(data []T, ts *Timestamp)
- type BlockHandler
- type BlockRing
- type BlockType
- type Stream
- type Timestamp
- func (ts *Timestamp) Child() *Timestamp
- func (ts *Timestamp) Clone() *Timestamp
- func (ts *Timestamp) Copy(destination *Timestamp)
- func (ts *Timestamp) Increment()
- func (ts *Timestamp) Less(other *Timestamp) bool
- func (ts *Timestamp) Reset()
- func (ts *Timestamp) Set(value uint64)
- func (ts *Timestamp) String() string
- type Timestamps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
func (*Block[T]) CopyTimestamp ¶
type BlockHandler ¶
type BlockRing ¶
func NewBlockRing ¶
type Stream ¶
func (*Stream[T]) Receive ¶
func (s *Stream[T]) Receive(handler BlockHandler[T]) (closed bool)
type Timestamp ¶
type Timestamp struct {
// contains filtered or unexported fields
}
func NewTimestamp ¶
func NewTimestamp() *Timestamp
func TimestampFromString ¶
type Timestamps ¶
type Timestamps []*Timestamp
func (Timestamps) Len ¶
func (ts Timestamps) Len() int
func (Timestamps) Less ¶
func (ts Timestamps) Less(i, j int) bool
func (Timestamps) Swap ¶
func (ts Timestamps) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.