Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMaxEntries = 2048 ErrCompacted = rpctypes.ErrGRPCCompacted )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Add(req *pb.RangeRequest, resp *pb.RangeResponse) Get(req *pb.RangeRequest) (*pb.RangeResponse, error) Compact(revision int64) Invalidate(key []byte, endkey []byte) }
Click to show internal directories.
Click to hide internal directories.