dns

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "dns"

Variables

This section is empty.

Functions

func Enable

func Enable(runtime *goja.Runtime)

func Require

func Require(runtime *goja.Runtime, module *goja.Object)

Types

type DNSModule

type DNSModule struct {
	// contains filtered or unexported fields
}

func (*DNSModule) Lookup

func (d *DNSModule) Lookup(call goja.FunctionCall) goja.Value

func (*DNSModule) On

func (d *DNSModule) On(call goja.FunctionCall) goja.Value

func (*DNSModule) Once

func (d *DNSModule) Once(call goja.FunctionCall) goja.Value

func (*DNSModule) RemoveListener

func (d *DNSModule) RemoveListener(call goja.FunctionCall) goja.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL