tiny-go / timap

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Go 100.0%