Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentMap ¶
func NewConcurrentMap ¶
func NewConcurrentMap[T Ordered, E any]() *ConcurrentMap[T, E]
func (*ConcurrentMap[T, E]) Get ¶
func (m *ConcurrentMap[T, E]) Get(key T) (E, bool)
func (*ConcurrentMap[T, E]) IterateKeys ¶
func (m *ConcurrentMap[T, E]) IterateKeys() <-chan T
func (*ConcurrentMap[T, E]) IterateValues ¶
func (m *ConcurrentMap[T, E]) IterateValues() <-chan E
func (*ConcurrentMap[T, E]) Put ¶
func (m *ConcurrentMap[T, E]) Put(key T, value E)
type ConcurrentQueue ¶
type ConcurrentQueue[T any] struct { // contains filtered or unexported fields }
func NewConcurrentQueue ¶
func NewConcurrentQueue[T any]() *ConcurrentQueue[T]
Click to show internal directories.
Click to hide internal directories.