memcache

package
v2.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package memcache for cache provider

depend on github.com/bradfitz/gomemcache/memcache

go install github.com/bradfitz/gomemcache/memcache

Usage: import(

_ "github.com/tianmaotalk/beego/v2/client/cache/memcache"
"github.com/tianmaotalk/beego/v2/client/cache"

)

bm, err := cache.NewCache("memcache", `{"conn":"127.0.0.1:11211"}`)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemCache

func NewMemCache() cache.Cache

NewMemCache create new memcache adapter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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