Documentation ¶
Index ¶
- Variables
- type Cache
- func (c Cache) DeleteAll(ctx context.Context, in *empty.Empty) (*pb.Response, error)
- func (c Cache) DeleteKey(ctx context.Context, args *pb.Key) (*pb.Response, error)
- func (c Cache) Get(ctx context.Context, args *pb.Key) (*pb.String, error)
- func (c Cache) GetHashMap(ctx context.Context, args *pb.Key) (*pb.List, error)
- func (c Cache) GetList(ctx context.Context, args *pb.Key) (*pb.List, error)
- func (c Cache) HMSet(ctx context.Context, item *pb.HashMapItem) (*pb.Response, error)
- func (c Cache) LPush(ctx context.Context, item *pb.String) (*pb.Response, error)
- func (c Cache) RPush(ctx context.Context, item *pb.String) (*pb.Response, error)
- func (c Cache) Set(ctx context.Context, item *pb.String) (*pb.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoKey = errors.New("No key found") ErrKeyExpired = errors.New("Key expired") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.