/timap

wrapper over sync.Map that allows to set life time for each key-value pair

Primary LanguageGoMIT LicenseMIT

Timap

Report Card GoCover

Different map implementations

  • Timap is a wrapper over sync.Map that allows to set life time for each key-value pair.
  • CtxMap allows storing key/value pairs with context to be deleted once the context is cancelled or its deadline is exceeded.