Documentation
¶
Index ¶
- func GetAllArgs(call *goja.FunctionCall) []interface{}
- func GetAllArgs_string(runtime *goja.Runtime, call *goja.FunctionCall) []string
- func GetGoType(runtime *goja.Runtime, call *goja.FunctionCall, idx int) goja.Value
- func GetNativeType(runtime *goja.Runtime, call *goja.FunctionCall, idx int) interface{}
- func MakeErrorValue(runtime *goja.Runtime, err error) goja.Value
- func MakeReturnValue(runtime *goja.Runtime, value interface{}) goja.Value
- func NewError(runtime *goja.Runtime, err error) *goja.Object
- func NewFile(runtime *goja.Runtime, file *os.File) *goja.Object
- func NewTime(runtime *goja.Runtime, t *time.Time) *goja.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllArgs ¶
func GetAllArgs(call *goja.FunctionCall) []interface{}
func GetAllArgs_string ¶ added in v0.0.2
func GetAllArgs_string(runtime *goja.Runtime, call *goja.FunctionCall) []string
func GetNativeType ¶ added in v0.0.2
func GetNativeType(runtime *goja.Runtime, call *goja.FunctionCall, idx int) interface{}
func MakeErrorValue ¶ added in v0.0.2
func MakeReturnValue ¶ added in v0.0.2
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.