summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.random.lua
diff options
context:
space:
mode:
authorMichael Martin <flrgh@protonmail.com>2021-12-21 17:58:03 -0800
committerMichael Martin <flrgh@protonmail.com>2021-12-21 18:02:15 -0800
commit764074d764d901065e353d68f1c5d0a78ec3a6c6 (patch)
tree942d4f3fe2075c1705efa9d6a61c6b69b6f42ea9 /meta/3rd/OpenResty/library/resty.random.lua
parent19591ff2f4a05fcadb574c0fc588325e217bd3ff (diff)
downloadlua-language-server-764074d764d901065e353d68f1c5d0a78ec3a6c6.zip
chore: update/cleanup resty.string annotations
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.random.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.random.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/3rd/OpenResty/library/resty.random.lua b/meta/3rd/OpenResty/library/resty.random.lua
index cecba485..c71dae05 100644
--- a/meta/3rd/OpenResty/library/resty.random.lua
+++ b/meta/3rd/OpenResty/library/resty.random.lua
@@ -1,5 +1,10 @@
---@meta
-resty_random={}
-resty_random._VERSION="0.11"
-function resty_random.bytes(len, strong) end
-return resty_random \ No newline at end of file
+local random={}
+
+--- Generate random bytes.
+---@param len integer
+---@param strong boolean
+---@return string
+function random.bytes(len, strong) end
+
+return random \ No newline at end of file