cleanup, docs
This commit is contained in:
@@ -16,4 +16,6 @@ Retrieves a value from an existing Memcache connection.
|
||||
If the key is missing, `default_value` is returned instead.
|
||||
|
||||
:example
|
||||
print("memcache_get is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
u64 conn = memcache_connect();
|
||||
if(conn != 0) { memcache_set(conn, "doc_get_key", "stored value"); print(memcache_get(conn, "doc_get_key"), "\n"); }
|
||||
else print("(requires a reachable memcached server)\n");
|
||||
|
||||
Reference in New Issue
Block a user