gomemcache

Go Memcached client library #golang

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者bradfitz/gomemcache
主編程語言Go
編程語言Go (語言數: 1)
平台
許可證Apache License 2.0
所有者活动
創建於2011-06-28 19:29:12
推送於2025-04-03 21:52:11
最后一次提交2025-04-03 14:51:46
發布數1
最新版本名稱release.r60 (發布於 2011-12-23 09:56:41)
第一版名稱release.r60 (發布於 2011-12-23 09:56:41)
用户参与
星數1.8k
關注者數60
派生數464
提交數109
已啟用問題?
問題數74
打開的問題數24
拉請求數30
打開的拉請求數21
關閉的拉請求數67
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?