github.com/adelowo/onecache

onecache

Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc).

44

Decision Signals

Health score 44/100, confidence 60/100.

Caution
Maintenance 15
Adoption 20
Security 92
Maturity 55
Developer DX 83
Confidence 60

Install

go get github.com/adelowo/onecache

Package Data

updated May 28, 2026
Latest versionv0.0.0-20200525154227-4af24e41db10
Imported by5 packages
Stars0
Forks0
Last activity6 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

29 symbols
SymbolKindSynopsis
CacheSerializer Type type CacheSerializer struct{}
CacheSerializer.DeSerialize Method func (b *CacheSerializer) DeSerialize(data []byte, i interface{}) error
CacheSerializer.Serialize Method func (b *CacheSerializer) Serialize(i interface{}) ([]byte, error)
NewCacheSerializer Function func NewCacheSerializer() *CacheSerializer
GarbageCollector Type type GarbageCollector interface{ ... }
GarbageCollector.GC Method GC func()
Item Type type Item struct{ ... }
Item.Data Field Data []byte
Item.ExpiresAt Field ExpiresAt time.Time
Item.IsExpired Method func (i *Item) IsExpired() bool
KeyFunc Type type KeyFunc func(s string) string
Serializer Type type Serializer interface{ ... }

Maintained Alternatives

limited recent repository activity

#1 JuiceFS

JuiceFS is a distributed POSIX file system built on top of Redis and S3.

Go Redis Clients 13.6K stars 0 imported-by 100% confidence
94

#2 v10

Rate limiting for go-redis

Go Redis Clients 1.0K stars 130 imported-by 95% confidence
94

#3 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 65% confidence
93

#4 redis

Package redis provides a client for the redis cache server.

Go Redis Clients 0 stars 102 imported-by 75% confidence
69

#5 Centrifugo

Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once and forever.

Go Redis Clients 0 stars 0 imported-by 45% confidence
45

#6 v8

Package redis implements a Redis client.

Go Redis Clients 0 stars 0 imported-by 40% confidence
44

Similar Packages

Go Redis Clients

#1 JuiceFS

JuiceFS is a distributed POSIX file system built on top of Redis and S3.

Go Redis Clients 13.6K stars 0 imported-by 100% confidence
94

#2 v10

Rate limiting for go-redis

Go Redis Clients 1.0K stars 130 imported-by 95% confidence
94

#3 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 65% confidence
93

#4 redis

Package redis provides a client for the redis cache server.

Go Redis Clients 0 stars 102 imported-by 75% confidence
69

#5 go-rejson

Go-ReJSON is a Go client for ReJSON redis module (https://github.com/RedisLabsModules/rejson)

Go Redis Clients 0 stars 57 imported-by 80% confidence
48