Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/js/generated/go/librsync/rsync.go
2070 views
1
package rsync
2
3
import (
4
lib_rsync "github.com/projectdiscovery/nuclei/v3/pkg/js/libs/rsync"
5
6
"github.com/Mzack9999/goja"
7
"github.com/projectdiscovery/nuclei/v3/pkg/js/gojs"
8
)
9
10
var (
11
module = gojs.NewGojaModule("nuclei/rsync")
12
)
13
14
func init() {
15
module.Set(
16
gojs.Objects{
17
// Functions
18
"IsRsync": lib_rsync.IsRsync,
19
20
// Var and consts
21
22
// Objects / Classes
23
"IsRsyncResponse": gojs.GetClassConstructor[lib_rsync.IsRsyncResponse](&lib_rsync.IsRsyncResponse{}),
24
},
25
).Register()
26
}
27
28
func Enable(runtime *goja.Runtime) {
29
module.Enable(runtime)
30
}
31
32