cleanup, docs
This commit is contained in:
@@ -17,4 +17,6 @@ Stores `value` under `key` on the Memcache server.
|
||||
`expires_in` controls the expiration timeout and defaults to one hour.
|
||||
|
||||
:example
|
||||
print("memcache_set is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
u64 conn = memcache_connect();
|
||||
if(conn != 0) print(memcache_set(conn, "doc_set_key", "value") ? "stored" : "store failed", "\n");
|
||||
else print("(requires a reachable memcached server)\n");
|
||||
|
||||
Reference in New Issue
Block a user