Annotate

teal-src/util/hex.d.tl @ 11613:c8a9f77d48fd

util.prosodyctl.check: Fix for net.dns vs unbound API difference net.dns returns nil for NXDOMAIN, while net.unbound returns a table with zero items and various status fields.
author Kim Alvefur <zash@zash.se>
date Sun, 20 Jun 2021 17:14:17 +0200
parent 11432:113f3912c7cb
child 12606:6683beb96e01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11432
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local type s2s = function (s : string) : string
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 local record lib
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 to : s2s
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 from : s2s
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 end
113f3912c7cb util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 return lib