cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
:sig
u64 memcache_connect(String host = "127.0.0.1", short port = 11211)
u64 memcache_connect(String host = "127.0.0.1", u16 port = 11211)
:params
host : optional host name of the memcache server, defaults to local address 127.0.0.1
@@ -15,4 +15,5 @@ Connects to a Memcache server instance.
If the connection fails, the function returns `-1`.
:example
print("memcache_connect is resource-bound; configure the service or connection, then call it in request code.\n");
u64 conn = memcache_connect();
print(conn != 0 ? "connected to memcached" : "no memcached server reachable", "\n");