gorsing/gomemcache
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
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