Documentation ¶
Index ¶
- func GoObjectToJsValue(goValue interface{}, ctx *quickjs.Context) quickjs.Value
- func JsValueToGoObject(expectArgumentType reflect.Type, jsValue quickjs.Value) (interface{}, error)
- func WrapClass(class *quickjs.JSClass, classConstructorOptFn ConstructorOpt, opts ...ClassOpt) *quickjs.JSClass
- func WrapFn(goFn interface{}) ...
- type ClassOpt
- type ConstructorOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoObjectToJsValue ¶
func JsValueToGoObject ¶
Types ¶
type ClassOpt ¶
type ClassOpt func(*classOpts)
func WithExportFieldBindList ¶
func WithFinalizer ¶
func WithFinalizer(finalizer func(obj interface{})) ClassOpt
func WithSetCheckInArgCount ¶
func WithSetCheckInArgCount() ClassOpt
type ConstructorOpt ¶
type ConstructorOpt func(opts *classConstructorOpts)
func WithBindConstructorFn ¶
func WithBindConstructorFn(constructorFn interface{}) ConstructorOpt
func WithQjsConstructorFn ¶
func WithQjsConstructorFn(constructorFn interface{}) ConstructorOpt
Click to show internal directories.
Click to hide internal directories.