This is a memcached client library for the V programming langugage (https://vlang.io)
More about client protocol and another memcached stuff you can see here
v install blacktrub.vmemcached
Each method of this library has test case, so you can use test module as documentation, feel free to open issue if it is not enough
module main
import blacktrub.vmemcached
fn main() {
m := vmemcached.connect(vmemcached.Connection{}) or {
panic(err)
}
println(m.get('foo'))
}
For run tests you must run docker container with memcached
docker run -d --name mmhed -p 11211:11211 memcached -vv
And just run tests in project directory
v test .