webapi: github.com/gowebapi/webapi/webidl Index | Files

package webidl

import "github.com/gowebapi/webapi/webidl"

Package webidl contains types defined by WebIDL standard.

Index

Package Files

doc.go webidl.go

type Function Uses

type Function js.Func

Function is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FunctionToJS Uses

func FunctionToJS(callback FunctionFunc) *Function

type FunctionFunc Uses

type FunctionFunc func(arguments []js.Value) interface{}

callback: Function

func FunctionFromJS Uses

func FunctionFromJS(_value js.Value) FunctionFunc

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

type VoidFunction Uses

type VoidFunction js.Func

VoidFunction is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func VoidFunctionToJS Uses

func VoidFunctionToJS(callback VoidFunctionFunc) *VoidFunction

type VoidFunctionFunc Uses

type VoidFunctionFunc func()

callback: VoidFunction

func VoidFunctionFromJS Uses

func VoidFunctionFromJS(_value js.Value) VoidFunctionFunc

Package webidl imports 1 packages (graph) and is imported by 6 packages. Updated 2019-09-17. Refresh now. Tools for package owners.