memcache-go

module
v0.0.0-...-7186719 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: Apache-2.0

README

memcache-go

A memcached cli written in go.

Running

Specify the host and port with either the -host and -port switches or use the HOST and PORT environmnet variables. Defaults to localhost port 11211.

Retrieve a key
bin/memcache-go -command get -key foo
bar
Set a key
bin/memcache-go -command set -key foo -expiry 500 -flags 0 -value bar
Delete a key
bin/memcache-go -command delete -key foo

Testing

The integrations test requires a working instance of memcached on localhost port 11211.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL