mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
13 lines
376 B
Go
13 lines
376 B
Go
package cache
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrKeyNotFound indicates no value exists for the given key.
|
|
ErrKeyNotFound = errors.New("key not found")
|
|
// ErrKeyExpired indicates a value exists but has expired.
|
|
ErrKeyExpired = errors.New("key expired")
|
|
// ErrKeyExists indicates a conflicting set when the key already exists.
|
|
ErrKeyExists = errors.New("key already exists")
|
|
)
|