package vnc
import (
lib_vnc "github.com/projectdiscovery/nuclei/v3/pkg/js/libs/vnc"
"github.com/Mzack9999/goja"
"github.com/projectdiscovery/nuclei/v3/pkg/js/gojs"
)
var (
module = gojs.NewGojaModule("nuclei/vnc")
)
func init() {
module.Set(
gojs.Objects{
"IsVNC": lib_vnc.IsVNC,
"IsVNCResponse": gojs.GetClassConstructor[lib_vnc.IsVNCResponse](&lib_vnc.IsVNCResponse{}),
},
).Register()
}
func Enable(runtime *goja.Runtime) {
module.Enable(runtime)
}