NetworkCommons / sig0namectl

Open dynamic DNS name management with SIG(0) update delegation.
https://sig0namectl.networkcommons.org
GNU Affero General Public License v3.0
12 stars 3 forks source link

pimp up query argument handling #58

Closed cryptix closed 3 months ago

cryptix commented 3 months ago

query() now supports a few more calling conventions

const q = window.goFuncs.query
q("the.pizza.site", "AAA")
q("the.pizza.site", {type: "AAA"})
q("the.pizza.site", {type: "AAA", dohurl: "doh.some.site"})
q({domain: "the.pizza.site", type: "AAA", dohurl: "doh.some.site"})