Versions in this module Expand all Collapse all v0 v0.0.5 Apr 8, 2024 Changes in this version + type EXSafeMap struct + func New(bucketSize int, options ...*Options) *EXSafeMap + func (m *EXSafeMap) Clear() + func (m *EXSafeMap) ClearExpire() + func (m *EXSafeMap) Close() + func (m *EXSafeMap) ForEach(each func(k string, v any) bool) + func (m *EXSafeMap) Get(key string) (any, bool) + func (m *EXSafeMap) Keys(pattern string) []string + func (m *EXSafeMap) Run() + func (m *EXSafeMap) Set(key string, val any, ex ...time.Duration) + func (m *EXSafeMap) Size() int64 + type Options struct + CheckExpireSpeed time.Duration