File

teal-src/util/net.d.tl @ 12124:7d985e5bc1fb

openmetrics/histograms: improve code clarity If buckets thresholds are to be taken as "less than or equal to", then using the less than or equal to operator seems sensible.
author Kim Alvefur <zash@zash.se>
date Mon, 27 Dec 2021 16:05:12 +0100
parent 11577:60bee6822d79
line wrap: on
line source


local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib