store

package
v0.7.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL