Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashLabels ¶
func HashMetadata ¶
func HashMetadata(newhash func() hash.Hash64, md *envoy_config_core_v3.Metadata) uint64
func HashProtoStruct ¶
HashProtoStruct hashes a protobuf Struct using the provided hash.Hash interface
func HashUint64 ¶
Types ¶
type AsyncQueue ¶
type AsyncQueue[T any] interface { // Dequeue will pop the first available item off of the queue. // This function will block until there is an item available, or the context is canceled. // If the context is canceled this function will return ctx.Err(). Dequeue(ctx context.Context) (T, error) // Enqueue will push an item onto the queue. If no space is available on the queue, // this function will return immediately and drop the item. Enqueue(T) // Next will return a channel so that this can be used in a select statement. Next() <-chan T }
func NewAsyncQueue ¶
func NewAsyncQueue[T any]() AsyncQueue[T]
Click to show internal directories.
Click to hide internal directories.