Software /
code /
prosody
File
teal-src/util/net.d.tl @ 11441:75a280e6e046
util.jsonschema: Allow a boolean as schema
Apparently a schema must be either an object or a boolean. Not sure
where I got this string shortcut from, but I think I will keep it as it
is very convenient.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 09 Mar 2021 02:33:28 +0100 |
parent | 11432:113f3912c7cb |
child | 11577:60bee6822d79 |
line wrap: on
line source
local enum type_strings "both" "ipv4" "ipv6" end local record lib local_addresses : function (type_strings, boolean) pton : function (string):string ntop : function (string):string end return lib