Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IThreadSafeStore ¶
type IThreadSafeStore[T any] interface { io.Closer AddOrUpdate(key string, obj T) Replace(items map[string]T) Delete(key string) Get(key string) (item T, exists bool) ListKeys(filters ...SafeStoreKeyFilterFunc) []string ListValues(keys ...string) (items []T) }
func NewThreadSafeMap ¶
func NewThreadSafeMap[T any]() IThreadSafeStore[T]
type SafeStoreKeyFilterFunc ¶
Click to show internal directories.
Click to hide internal directories.