mirror of https://github.com/dapr/kit.git
* Adds generic ring Adds a generic implementation of the stdblib ring buffer so that each ring `Value` can be a concrete type. https://pkg.go.dev/container/ring Adds `Len() int` and `Keys() []K` func to the generic Map cmap. Changes `events/queue` Processor `Queueable` to be an exported type. No functional change, but consumed types should be exported. Signed-off-by: joshvanl <me@joshvanl.dev> * Adds ring_test.go Signed-off-by: joshvanl <me@joshvanl.dev> * Linting Signed-off-by: joshvanl <me@joshvanl.dev> * Linting Signed-off-by: joshvanl <me@joshvanl.dev> * Update Do func to be typed Signed-off-by: joshvanl <me@joshvanl.dev> * Adds ring/buffered Signed-off-by: joshvanl <me@joshvanl.dev> --------- Signed-off-by: joshvanl <me@joshvanl.dev> |
||
---|---|---|
.. | ||
atomic.go | ||
atomic_test.go | ||
map.go | ||
mutex.go | ||
mutex_test.go |