Documentation ¶
Overview ¶
Package memcached is a cache implementation for onecache which uses memcached
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemcachedStore ¶
type MemcachedStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...Option) *MemcachedStore
func NewMemcachedStore ¶
func NewMemcachedStore(c *memcache.Client, prefix string) *MemcachedStore
Deprecated -- Use New instead Returns a new instance of the memached store. If prefix is an empty string, it defaults to the package's prefix constant
func (*MemcachedStore) Delete ¶
func (m *MemcachedStore) Delete(k string) error
func (*MemcachedStore) Flush ¶
func (m *MemcachedStore) Flush() error
func (*MemcachedStore) Has ¶
func (m *MemcachedStore) Has(key string) bool
Click to show internal directories.
Click to hide internal directories.