forked from kklis/gomemcache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
20 lines (17 loc) · 668 Bytes
/
README
File metadata and controls
20 lines (17 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This is a memcache client package for the Go programming language.
The following commands are implemented:
* get (single key)
* set, add, replace, append, prepend
* delete
* incr, decr
Installation:
* Run "go install github.com/kklis/gomemcache" (you may need root access rights under Linux)
Test:
* Install gomemcache package (as described above)
* Start memcached at 127.0.0.1:11211 before running the test.
* Run "go test github.com/kklis/gomemcache"
* Warning: Test suite includes a test that flushes all memcache content.
Example usage:
* Go to $GOROOT/src/pkg/github.com/kklis/gomemcache/example/
* Compile example with "go build example.go"
* Run the binary