memcache

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memcache

type Memcache struct {
	// contains filtered or unexported fields
}

A bradfitz/gomemcache/memcache wrapper that automatically tries to reconnect once connection drops

func New

func New(servers []string) (*Memcache, error)

func (*Memcache) DeleteAll

func (m *Memcache) DeleteAll() error

func (*Memcache) GetMulti

func (m *Memcache) GetMulti(keys []string) (map[string]*upstream.Item, error)

func (*Memcache) Set

func (m *Memcache) Set(item *upstream.Item) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL