Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + func GetStructTypeSafe[T any](nj *NucleiJS, args []goja.Value, index int, defaultValue T) T + func GetStructType[T any](nj *NucleiJS, args []goja.Value, index int, FuncSig string) T + func LinkConstructor[T any](call goja.ConstructorCall, vm *goja.Runtime, obj T) *goja.Object + type NucleiJS struct + ObjectSig string + func NewNucleiJS(vm *goja.Runtime) *NucleiJS + func (j *NucleiJS) GetArg(args []goja.Value, index int) any + func (j *NucleiJS) GetArgSafe(args []goja.Value, index int, defaultValue any) any + func (j *NucleiJS) HandleError(err error, msg ...string) + func (j *NucleiJS) Require(expr bool, msg string) + func (j *NucleiJS) Throw(format string, args ...interface{}) + func (j *NucleiJS) ThrowError(err error) + type SQLResult struct + Columns []string + Count int + Rows []interface{} + func UnmarshalSQLRows(rows *sql.Rows) (*SQLResult, error)