Registry / networking / bradfitz-gomemcache

bradfitz-gomemcache

JSON →
library0.0.0-20260422231931-4d751bb6e37cgogounverified

Package gomemcache provides a Go client for the memcached distributed memory object caching system.

go get github.com/bradfitz/gomemcache
INSTALL
IMPORT
SIG · BRADFITZ-GOMEMCACH
B
bradfitz-gomemcache
networkinggov0.0.0-20260422231931-4d751bb6e37c
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

memcache
github.com/bradfitz/gomemcache/memcache

Connects to memcached, sets a key-value pair, and retrieves it.

package main import ( "fmt" "github.com/bradfitz/gomemcache/memcache" ) func main() { mc := memcache.New("localhost:11211") mc.Set(&memcache.Item{Key: "foo", Value: []byte("bar")}) item, _ := mc.Get("foo") fmt.Println(string(item.Value)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20260422231931-4d751bb6e37clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
1
Amazon
1
OpenAI (training)
1
Resources
bradfitz-gomemcache — go get bradfitz-gomemcache · libregistry