Skip to content

Commit

Permalink
adds improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-burns committed Jul 10, 2024
1 parent 9853216 commit 314cd44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion golang/wasm/wrapper_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ func newKeyRequest(_ js.Value, args []js.Value) any {
// arg 1: The Zone to update.
// arg 2: The DOH server to send the update to.
//
// returns an object with three functions {addRR, signedUpdate, unsignedUpdate}
// returns an object with functions {
// addRR, deleteRR, deleteRRset, deleteName
// signedUpdate, unsignedUpdate
// }
func newUpdater(_ js.Value, args []js.Value) any {
if len(args) != 3 {
panic("expected 3 arguments: keyName, zone, dohHostname")
Expand Down

0 comments on commit 314cd44

Please sign in to comment.