Documentation ¶ Index ¶ type Memcached func NewMemcached(server string, timeout time.Duration) *Memcached func (m *Memcached) Close() error func (m *Memcached) Get(key string) ([]byte, error) func (m *Memcached) Set(key string, value []byte, expiration int32) error func (m *Memcached) SetString(key string, value string, expiration int32) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Memcached ¶ type Memcached struct { // contains filtered or unexported fields } func NewMemcached ¶ func NewMemcached(server string, timeout time.Duration) *Memcached func (*Memcached) Close ¶ func (m *Memcached) Close() error func (*Memcached) Get ¶ func (m *Memcached) Get(key string) ([]byte, error) func (*Memcached) Set ¶ func (m *Memcached) Set(key string, value []byte, expiration int32) error func (*Memcached) SetString ¶ func (m *Memcached) SetString(key string, value string, expiration int32) error Source Files ¶ View all Source files memcached.go Click to show internal directories. Click to hide internal directories.