memcached

package
v2.18.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Pool         []string
	MaxIdleConns int
	Timeout      string
}

Configuration - memcached configuration

type Memcached

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

Memcached - main struct

func New

New - initializes

func (*Memcached) Delete

func (mc *Memcached) Delete(namespace string, fqnKeys ...string) gobol.Error

Delete - deletes an object from the cache

func (*Memcached) Get

func (mc *Memcached) Get(namespace string, fqnKeys ...string) ([]byte, gobol.Error)

Get - returns an object from the cache

func (*Memcached) Put

func (mc *Memcached) Put(value []byte, ttl int32, namespace string, fqnKeys ...string) gobol.Error

Put - puts an object in the cache

Jump to

Keyboard shortcuts

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