gomemcache

Go Memcached client library #golang

Github stars Tracking Chart

About

This is a memcache client library for the Go programming language
(http://golang.org/).

Installing

Using go get

$ go get github.com/bradfitz/gomemcache/memcache

After this command gomemcache is ready to use. Its source will be in:

$GOPATH/src/github.com/bradfitz/gomemcache/memcache

Example

import (
        "github.com/bradfitz/gomemcache/memcache"
)

func main() {
     mc := memcache.New("10.0.0.1:11211", "10.0.0.2:11211", "10.0.0.3:11212")
     mc.Set(&memcache.Item{Key: "foo", Value: []byte("my value")})

     it, err := mc.Get("foo")
     ...
}

Full docs, see:

See https://godoc.org/github.com/bradfitz/gomemcache/memcache

Or run:

$ godoc github.com/bradfitz/gomemcache/memcache

Main metrics

Overview
Name With Ownerbradfitz/gomemcache
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:Apache License 2.0
所有者活动
Created At2011-06-28 19:29:12
Pushed At2025-04-03 21:52:11
Last Commit At2025-04-03 14:51:46
Release Count1
Last Release Namerelease.r60 (Posted on 2011-12-23 09:56:41)
First Release Namerelease.r60 (Posted on 2011-12-23 09:56:41)
用户参与
Stargazers Count1.8k
Watchers Count60
Fork Count464
Commits Count109
Has Issues Enabled
Issues Count74
Issue Open Count24
Pull Requests Count30
Pull Requests Open Count21
Pull Requests Close Count67
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private