Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCouldNotContent = errors.New("could not get content")
)
Functions ¶
Types ¶
type CacheClientProcess ¶
type CacheClientProcess struct {
// contains filtered or unexported fields
}
CacheClientProcess is an in process cache that adheres to larry's interface
func (*CacheClientProcess) Del ¶
func (c *CacheClientProcess) Del(key string) error
type CacheClientS3 ¶
CacheClientS3 is a small cache that is backed by an S3-compatible store
func (*CacheClientS3) Del ¶
func (c *CacheClientS3) Del(key string) error
func (*CacheClientS3) Get ¶
func (c *CacheClientS3) Get(key string) (string, error)
Get returns an object, it follows the original pattern in larry to return redis.Nil when an object does not exist, in other case we can use minio.ToErrorResponse(err) to extract more details about the potential S3 related error
Click to show internal directories.
Click to hide internal directories.