Versions in this module Expand all Collapse all v0 v0.0.25 Oct 13, 2022 Changes in this version + type KVStore interface + AllKeys func() []string + Get func(key string) interface{} + GetBool func(key string) bool + GetDuration func(key string) time.Duration + GetFloat64 func(key string) float64 + GetInt func(key string) int + GetInt32 func(key string) int32 + GetInt64 func(key string) int64 + GetIntSlice func(key string) []int + GetSizeInBytes func(key string) uint + GetString func(key string) string + GetStringMap func(key string) map[string]interface{} + GetStringMapStringSlice func(key string) map[string][]string + GetStringSlice func(key string) []string + GetTime func(key string) time.Time + GetUint func(key string) uint + GetUint32 func(key string) uint32 + GetUint64 func(key string) uint64 + IsSet func(key string) bool + type SyncMapKVStore struct + func NewSyncMapConfig(sm *sync.Map) *SyncMapKVStore + func (cfg *SyncMapKVStore) AllKeys() []string + func (cfg *SyncMapKVStore) Get(key string) interface{} + func (cfg *SyncMapKVStore) GetBool(key string) bool + func (cfg *SyncMapKVStore) GetDuration(key string) time.Duration + func (cfg *SyncMapKVStore) GetFloat64(key string) float64 + func (cfg *SyncMapKVStore) GetInt(key string) int + func (cfg *SyncMapKVStore) GetInt32(key string) int32 + func (cfg *SyncMapKVStore) GetInt64(key string) int64 + func (cfg *SyncMapKVStore) GetIntSlice(key string) []int + func (cfg *SyncMapKVStore) GetSizeInBytes(key string) uint + func (cfg *SyncMapKVStore) GetString(key string) string + func (cfg *SyncMapKVStore) GetStringMap(key string) map[string]interface{} + func (cfg *SyncMapKVStore) GetStringMapStringSlice(key string) map[string][]string + func (cfg *SyncMapKVStore) GetStringSlice(key string) []string + func (cfg *SyncMapKVStore) GetTime(key string) (t time.Time) + func (cfg *SyncMapKVStore) GetUint(key string) uint + func (cfg *SyncMapKVStore) GetUint32(key string) uint32 + func (cfg *SyncMapKVStore) GetUint64(key string) uint64 + func (cfg *SyncMapKVStore) IsSet(key string) bool + func (cfg *SyncMapKVStore) Set(key string, value interface{}) v0.0.24 May 5, 2021