Documentation ¶
Index ¶
- type FixedSizeObserver
- func (q *FixedSizeObserver[T]) Ack(msgId uint64)
- func (q *FixedSizeObserver[T]) GetLength() int
- func (q *FixedSizeObserver[T]) Publish(element T) uint64
- func (q *FixedSizeObserver[T]) Release()
- func (q *FixedSizeObserver[T]) Subscribe(ctx context.Context) <-chan T
- func (q *FixedSizeObserver[T]) WaitAck(msgId uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedSizeObserver ¶
type FixedSizeObserver[T interface{}] struct {
// contains filtered or unexported fields
}
func NewFixedSizeObserver ¶
func (*FixedSizeObserver[T]) Ack ¶ added in v0.0.2
func (q *FixedSizeObserver[T]) Ack(msgId uint64)
func (*FixedSizeObserver[T]) GetLength ¶
func (q *FixedSizeObserver[T]) GetLength() int
func (*FixedSizeObserver[T]) Publish ¶
func (q *FixedSizeObserver[T]) Publish(element T) uint64
func (*FixedSizeObserver[T]) Release ¶
func (q *FixedSizeObserver[T]) Release()
func (*FixedSizeObserver[T]) Subscribe ¶
func (q *FixedSizeObserver[T]) Subscribe(ctx context.Context) <-chan T
func (*FixedSizeObserver[T]) WaitAck ¶ added in v0.0.2
func (q *FixedSizeObserver[T]) WaitAck(msgId uint64)
Click to show internal directories.
Click to hide internal directories.