Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerticThreadSafeStore ¶
type GenerticThreadSafeStore[K any] struct { // contains filtered or unexported fields }
func NewGenericThreadSafeStore ¶
func NewGenericThreadSafeStore[K any]() *GenerticThreadSafeStore[K]
func (*GenerticThreadSafeStore[K]) Delete ¶ added in v0.7.27
func (s *GenerticThreadSafeStore[K]) Delete(key string)
func (*GenerticThreadSafeStore[K]) Get ¶
func (s *GenerticThreadSafeStore[K]) Get(key string) (K, bool)
func (*GenerticThreadSafeStore[K]) GetAllPairs ¶
func (s *GenerticThreadSafeStore[K]) GetAllPairs() map[string]K
func (*GenerticThreadSafeStore[K]) Set ¶
func (s *GenerticThreadSafeStore[K]) Set(key string, val K)
Click to show internal directories.
Click to hide internal directories.