memcached

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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