Timap
Different map implementations
Timap
is a wrapper oversync.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.
wrapper over sync.Map that allows to set life time for each key-value pair
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.wrapper over sync.Map that allows to set life time for each key-value pair
MIT License