package
2.3.0+incompatible
Repository: https://github.com/jaegertracing/jaeger.git
Documentation: pkg.go.dev

# Functions

NewBoundedQueue constructs the new queue of specified capacity, and with an optional callback for dropped items (e.g.

# Structs

BoundedQueue implements a producer-consumer exchange similar to a ring buffer queue, where the queue is bounded and if it fills up due to slow consumers, the new items written by the producer force the earliest items to be dropped.

# Interfaces

Consumer consumes data from a bounded queue.

# Type aliases

ConsumerFunc is an adapter to allow the use of a consume function callback as a Consumer.