Documentation ¶
Overview ¶
Package memcache provides a minimally compatible interface for google.golang.org/appengine/memcache and stores the data in Redis (e.g., via Cloud Memorystore).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Gob = Codec{gobMarshal, gobUnmarshal} JSON = Codec{json.Marshal, json.Unmarshal} )
View Source
var ErrCacheMiss = errors.New("memcache: cache miss")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) WithCodec ¶
func (c *Client) WithCodec(codec Codec) *CodecClient
type CodecClient ¶
type CodecClient struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.