github.com/adelowo/onecache

onecache

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

60

Decision Signals

Health score 60/100, confidence 100/100.

Review
Maintenance 15
Adoption 64
Security 92
Maturity 87
Developer DX 83
Confidence 100

Install

go get github.com/adelowo/onecache

Package Data

updated May 29, 2026
Latest versionv0.0.0-20200525154227-4af24e41db10
Imported by5 packages
Stars135
Forks8
Last activity6 years ago
Latest releaseUnknown
LicenseMIT
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 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 100% confidence
96

#2 v8

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 14.5K imported-by 95% confidence
96

#3 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

#4 rueidis

Package rueidis is a fast Golang Redis RESP3 client that does auto pipelining and supports client side caching.

Go Redis Clients 2.9K stars 366 imported-by 95% confidence
94

#5 v10

Rate limiting for go-redis

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

#6 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 10.3K stars 0 imported-by 65% confidence
89

Similar Packages

Go Redis Clients

#1 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 100% confidence
96

#2 v8

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 14.5K imported-by 95% confidence
96

#3 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

#4 rueidis

Package rueidis is a fast Golang Redis RESP3 client that does auto pipelining and supports client side caching.

Go Redis Clients 2.9K stars 366 imported-by 95% confidence
94

#5 v10

Rate limiting for go-redis

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