memcache

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MInitServer

func MInitServer() (*MemcacheInst, *Error)

InitServer is used for initializing memcache server using default configuration

func MInitServers

func MInitServers(server ...string) (*MemcacheInst, *Error)

InitServers is used for initializing memcache servers using parameters

Types

type MemcacheInst

type MemcacheInst struct {
	MemcacheServerList string
	MemcacheServerPort string
	ClientInst         *Client
}

func (*MemcacheInst) MDeleteByKey

func (mem *MemcacheInst) MDeleteByKey(key string) *Error

func (*MemcacheInst) MGetStrValue

func (mem *MemcacheInst) MGetStrValue(key string) (string, *Error)

func (*MemcacheInst) MSetStrValue

func (mem *MemcacheInst) MSetStrValue(key string, value string) *Error

func (*MemcacheInst) MUpdateStrValue

func (mem *MemcacheInst) MUpdateStrValue(key string, value string) *Error

Jump to

Keyboard shortcuts

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