Registry / utility / floattech-ttl

floattech-ttl

JSON →
library0.0.0-20250224042757-92c827b4da8agogounverified

A synchronized map that automatically expires entries after a configurable time-to-live.

go get github.com/FloatTech/ttl
INSTALL
IMPORT
SIG · FLOATTECH-TTL
F
floattech-ttl
utilitygov0.0.0-20250224042757-92c827b4da8a
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ttl
github.com/FloatTech/ttl

Creates a new TTL map, sets a key, and retrieves it.

package main import ( "fmt" "github.com/FloatTech/ttl" ) func main() { m := ttl.NewMap() m.Set("key", "value", 0) val, ok := m.Get("key") fmt.Println(val, ok) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20250224042757-92c827b4da8alatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
floattech-ttl — go get floattech-ttl · libregistry