1
0
Fork 0

Adding upstream version 2.2.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-16 22:45:16 +02:00
parent a6909e3829
commit 02ef45af86
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
19 changed files with 3024 additions and 0 deletions

15
statistics.go Normal file
View file

@ -0,0 +1,15 @@
package gocache
type Statistics struct {
// EvictedKeys is the number of keys that were evicted
EvictedKeys uint64
// ExpiredKeys is the number of keys that were automatically deleted as a result of expiring
ExpiredKeys uint64
// Hits is the number of cache hits
Hits uint64
// Misses is the number of cache misses
Misses uint64
}