midi

package
Version: v0.0.0-...-704d94b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2021 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Overview

Package midi is supporting the MIDI protocol to access synthesizers, keyboard and other controllers, and drum machines connected to their host computer or device.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	domcore.EventTarget
}

class: MIDIAccess

func AccessFromJS

func AccessFromJS(value js.Wrapper) *Access

AccessFromJS is casting a js.Wrapper into Access.

func (*Access) AddEventStateChange

func (_this *Access) AddEventStateChange(listener func(event *ConnectionEvent, currentTarget *Access)) js.Func

AddStateChange is adding doing AddEventListener for 'StateChange' on target. This method is returning allocated javascript function that need to be released.

func (*Access) Inputs

func (_this *Access) Inputs() *InputMap

Inputs returning attribute 'inputs' with type InputMap (idl: MIDIInputMap).

func (*Access) OnStateChange

func (_this *Access) OnStateChange() domcore.EventHandlerFunc

OnStateChange returning attribute 'onstatechange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*Access) Outputs

func (_this *Access) Outputs() *OutputMap

Outputs returning attribute 'outputs' with type OutputMap (idl: MIDIOutputMap).

func (*Access) SetOnStateChange

func (_this *Access) SetOnStateChange(listener func(event *ConnectionEvent, currentTarget *Access)) js.Func

SetOnStateChange is assigning a function to 'onstatechange'. This This method is returning allocated javascript function that need to be released.

func (*Access) SysexEnabled

func (_this *Access) SysexEnabled() bool

SysexEnabled returning attribute 'sysexEnabled' with type bool (idl: boolean).

type ConnectionEvent

type ConnectionEvent struct {
	domcore.Event
}

class: MIDIConnectionEvent

func ConnectionEventFromJS

func ConnectionEventFromJS(value js.Wrapper) *ConnectionEvent

ConnectionEventFromJS is casting a js.Wrapper into ConnectionEvent.

func NewMIDIConnectionEvent

func NewMIDIConnectionEvent(_type string, eventInitDict *ConnectionEventInit) (_result *ConnectionEvent)

func (*ConnectionEvent) Port

func (_this *ConnectionEvent) Port() *Port

Port returning attribute 'port' with type Port (idl: MIDIPort).

type ConnectionEventInit

type ConnectionEventInit struct {
	Bubbles    bool
	Cancelable bool
	Composed   bool
	Port       *Port
}

dictionary: MIDIConnectionEventInit

func ConnectionEventInitFromJS

func ConnectionEventInitFromJS(value js.Wrapper) *ConnectionEventInit

ConnectionEventInitFromJS is allocating a new ConnectionEventInit object and copy all values from input javascript object

func (*ConnectionEventInit) JSValue

func (_this *ConnectionEventInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Input

type Input struct {
	Port
}

class: MIDIInput

func InputFromJS

func InputFromJS(value js.Wrapper) *Input

InputFromJS is casting a js.Wrapper into Input.

func (*Input) AddEventMIDIMessage

func (_this *Input) AddEventMIDIMessage(listener func(event *MessageEvent, currentTarget *Input)) js.Func

AddMIDIMessage is adding doing AddEventListener for 'MIDIMessage' on target. This method is returning allocated javascript function that need to be released.

func (*Input) OnMIDIMessage

func (_this *Input) OnMIDIMessage() domcore.EventHandlerFunc

OnMIDIMessage returning attribute 'onmidimessage' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*Input) SetOnMIDIMessage

func (_this *Input) SetOnMIDIMessage(listener func(event *MessageEvent, currentTarget *Input)) js.Func

SetOnMIDIMessage is assigning a function to 'onmidimessage'. This This method is returning allocated javascript function that need to be released.

type InputMap

type InputMap struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIInputMap

func InputMapFromJS

func InputMapFromJS(value js.Wrapper) *InputMap

InputMapFromJS is casting a js.Wrapper into InputMap.

func (*InputMap) Entries

func (_this *InputMap) Entries() (_result *InputMapEntryIterator)

func (*InputMap) ForEach

func (_this *InputMap) ForEach(callback *InputMapForEach, optionalThisForCallbackArgument interface{})

func (*InputMap) Get

func (_this *InputMap) Get(key string) (_result *Input)

func (*InputMap) Has

func (_this *InputMap) Has(key string) (_result bool)

func (*InputMap) JSValue

func (_this *InputMap) JSValue() js.Value

func (*InputMap) Keys

func (_this *InputMap) Keys() (_result *InputMapKeyIterator)

func (*InputMap) Size

func (_this *InputMap) Size() int

Size returning attribute 'size' with type int (idl: long).

func (*InputMap) Values

func (_this *InputMap) Values() (_result *InputMapValueIterator)

type InputMapEntryIterator

type InputMapEntryIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIInputMapEntryIterator

func InputMapEntryIteratorFromJS

func InputMapEntryIteratorFromJS(value js.Wrapper) *InputMapEntryIterator

InputMapEntryIteratorFromJS is casting a js.Wrapper into InputMapEntryIterator.

func (*InputMapEntryIterator) JSValue

func (_this *InputMapEntryIterator) JSValue() js.Value

func (*InputMapEntryIterator) Next

func (_this *InputMapEntryIterator) Next() (_result *InputMapEntryIteratorValue)

type InputMapEntryIteratorValue

type InputMapEntryIteratorValue struct {
	Value []js.Value
	Done  bool
}

dictionary: MIDIInputMapEntryIteratorValue

func InputMapEntryIteratorValueFromJS

func InputMapEntryIteratorValueFromJS(value js.Wrapper) *InputMapEntryIteratorValue

InputMapEntryIteratorValueFromJS is allocating a new InputMapEntryIteratorValue object and copy all values from input javascript object

func (*InputMapEntryIteratorValue) JSValue

func (_this *InputMapEntryIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type InputMapForEach

type InputMapForEach js.Func

InputMapForEach is a javascript function type.

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

func InputMapForEachToJS

func InputMapForEachToJS(callback InputMapForEachFunc) *InputMapForEach

type InputMapForEachFunc

type InputMapForEachFunc func(currentValue *Input, currentKey string, listObj *InputMap)

callback: MIDIInputMapForEach

func InputMapForEachFromJS

func InputMapForEachFromJS(_value js.Value) InputMapForEachFunc

type InputMapKeyIterator

type InputMapKeyIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIInputMapKeyIterator

func InputMapKeyIteratorFromJS

func InputMapKeyIteratorFromJS(value js.Wrapper) *InputMapKeyIterator

InputMapKeyIteratorFromJS is casting a js.Wrapper into InputMapKeyIterator.

func (*InputMapKeyIterator) JSValue

func (_this *InputMapKeyIterator) JSValue() js.Value

func (*InputMapKeyIterator) Next

func (_this *InputMapKeyIterator) Next() (_result *InputMapKeyIteratorValue)

type InputMapKeyIteratorValue

type InputMapKeyIteratorValue struct {
	Value string
	Done  bool
}

dictionary: MIDIInputMapKeyIteratorValue

func InputMapKeyIteratorValueFromJS

func InputMapKeyIteratorValueFromJS(value js.Wrapper) *InputMapKeyIteratorValue

InputMapKeyIteratorValueFromJS is allocating a new InputMapKeyIteratorValue object and copy all values from input javascript object

func (*InputMapKeyIteratorValue) JSValue

func (_this *InputMapKeyIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type InputMapValueIterator

type InputMapValueIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIInputMapValueIterator

func InputMapValueIteratorFromJS

func InputMapValueIteratorFromJS(value js.Wrapper) *InputMapValueIterator

InputMapValueIteratorFromJS is casting a js.Wrapper into InputMapValueIterator.

func (*InputMapValueIterator) JSValue

func (_this *InputMapValueIterator) JSValue() js.Value

func (*InputMapValueIterator) Next

func (_this *InputMapValueIterator) Next() (_result *InputMapValueIteratorValue)

type InputMapValueIteratorValue

type InputMapValueIteratorValue struct {
	Value *Input
	Done  bool
}

dictionary: MIDIInputMapValueIteratorValue

func InputMapValueIteratorValueFromJS

func InputMapValueIteratorValueFromJS(value js.Wrapper) *InputMapValueIteratorValue

InputMapValueIteratorValueFromJS is allocating a new InputMapValueIteratorValue object and copy all values from input javascript object

func (*InputMapValueIteratorValue) JSValue

func (_this *InputMapValueIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type MessageEvent

type MessageEvent struct {
	domcore.Event
}

class: MIDIMessageEvent

func MessageEventFromJS

func MessageEventFromJS(value js.Wrapper) *MessageEvent

MessageEventFromJS is casting a js.Wrapper into MessageEvent.

func NewMIDIMessageEvent

func NewMIDIMessageEvent(_type string, eventInitDict *MessageEventInit) (_result *MessageEvent)

func (*MessageEvent) Data

func (_this *MessageEvent) Data() *javascript.Uint8Array

Data returning attribute 'data' with type javascript.Uint8Array (idl: Uint8Array).

type MessageEventInit

type MessageEventInit struct {
	Bubbles    bool
	Cancelable bool
	Composed   bool
	Data       *javascript.Uint8Array
}

dictionary: MIDIMessageEventInit

func MessageEventInitFromJS

func MessageEventInitFromJS(value js.Wrapper) *MessageEventInit

MessageEventInitFromJS is allocating a new MessageEventInit object and copy all values from input javascript object

func (*MessageEventInit) JSValue

func (_this *MessageEventInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Options

type Options struct {
	Sysex    bool
	Software bool
}

dictionary: MIDIOptions

func OptionsFromJS

func OptionsFromJS(value js.Wrapper) *Options

OptionsFromJS is allocating a new Options object and copy all values from input javascript object

func (*Options) JSValue

func (_this *Options) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Output

type Output struct {
	Port
}

class: MIDIOutput

func OutputFromJS

func OutputFromJS(value js.Wrapper) *Output

OutputFromJS is casting a js.Wrapper into Output.

func (*Output) Clear

func (_this *Output) Clear()

func (*Output) Send

func (_this *Output) Send(data []int, timestamp *float64)

type OutputMap

type OutputMap struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIOutputMap

func OutputMapFromJS

func OutputMapFromJS(value js.Wrapper) *OutputMap

OutputMapFromJS is casting a js.Wrapper into OutputMap.

func (*OutputMap) Entries

func (_this *OutputMap) Entries() (_result *OutputMapEntryIterator)

func (*OutputMap) ForEach

func (_this *OutputMap) ForEach(callback *OutputMapForEach, optionalThisForCallbackArgument interface{})

func (*OutputMap) Get

func (_this *OutputMap) Get(key string) (_result *Output)

func (*OutputMap) Has

func (_this *OutputMap) Has(key string) (_result bool)

func (*OutputMap) JSValue

func (_this *OutputMap) JSValue() js.Value

func (*OutputMap) Keys

func (_this *OutputMap) Keys() (_result *OutputMapKeyIterator)

func (*OutputMap) Size

func (_this *OutputMap) Size() int

Size returning attribute 'size' with type int (idl: long).

func (*OutputMap) Values

func (_this *OutputMap) Values() (_result *OutputMapValueIterator)

type OutputMapEntryIterator

type OutputMapEntryIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIOutputMapEntryIterator

func OutputMapEntryIteratorFromJS

func OutputMapEntryIteratorFromJS(value js.Wrapper) *OutputMapEntryIterator

OutputMapEntryIteratorFromJS is casting a js.Wrapper into OutputMapEntryIterator.

func (*OutputMapEntryIterator) JSValue

func (_this *OutputMapEntryIterator) JSValue() js.Value

func (*OutputMapEntryIterator) Next

func (_this *OutputMapEntryIterator) Next() (_result *OutputMapEntryIteratorValue)

type OutputMapEntryIteratorValue

type OutputMapEntryIteratorValue struct {
	Value []js.Value
	Done  bool
}

dictionary: MIDIOutputMapEntryIteratorValue

func OutputMapEntryIteratorValueFromJS

func OutputMapEntryIteratorValueFromJS(value js.Wrapper) *OutputMapEntryIteratorValue

OutputMapEntryIteratorValueFromJS is allocating a new OutputMapEntryIteratorValue object and copy all values from input javascript object

func (*OutputMapEntryIteratorValue) JSValue

func (_this *OutputMapEntryIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type OutputMapForEach

type OutputMapForEach js.Func

OutputMapForEach is a javascript function type.

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

func OutputMapForEachToJS

func OutputMapForEachToJS(callback OutputMapForEachFunc) *OutputMapForEach

type OutputMapForEachFunc

type OutputMapForEachFunc func(currentValue *Output, currentKey string, listObj *OutputMap)

callback: MIDIOutputMapForEach

func OutputMapForEachFromJS

func OutputMapForEachFromJS(_value js.Value) OutputMapForEachFunc

type OutputMapKeyIterator

type OutputMapKeyIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIOutputMapKeyIterator

func OutputMapKeyIteratorFromJS

func OutputMapKeyIteratorFromJS(value js.Wrapper) *OutputMapKeyIterator

OutputMapKeyIteratorFromJS is casting a js.Wrapper into OutputMapKeyIterator.

func (*OutputMapKeyIterator) JSValue

func (_this *OutputMapKeyIterator) JSValue() js.Value

func (*OutputMapKeyIterator) Next

func (_this *OutputMapKeyIterator) Next() (_result *OutputMapKeyIteratorValue)

type OutputMapKeyIteratorValue

type OutputMapKeyIteratorValue struct {
	Value string
	Done  bool
}

dictionary: MIDIOutputMapKeyIteratorValue

func OutputMapKeyIteratorValueFromJS

func OutputMapKeyIteratorValueFromJS(value js.Wrapper) *OutputMapKeyIteratorValue

OutputMapKeyIteratorValueFromJS is allocating a new OutputMapKeyIteratorValue object and copy all values from input javascript object

func (*OutputMapKeyIteratorValue) JSValue

func (_this *OutputMapKeyIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type OutputMapValueIterator

type OutputMapValueIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: MIDIOutputMapValueIterator

func OutputMapValueIteratorFromJS

func OutputMapValueIteratorFromJS(value js.Wrapper) *OutputMapValueIterator

OutputMapValueIteratorFromJS is casting a js.Wrapper into OutputMapValueIterator.

func (*OutputMapValueIterator) JSValue

func (_this *OutputMapValueIterator) JSValue() js.Value

func (*OutputMapValueIterator) Next

func (_this *OutputMapValueIterator) Next() (_result *OutputMapValueIteratorValue)

type OutputMapValueIteratorValue

type OutputMapValueIteratorValue struct {
	Value *Output
	Done  bool
}

dictionary: MIDIOutputMapValueIteratorValue

func OutputMapValueIteratorValueFromJS

func OutputMapValueIteratorValueFromJS(value js.Wrapper) *OutputMapValueIteratorValue

OutputMapValueIteratorValueFromJS is allocating a new OutputMapValueIteratorValue object and copy all values from input javascript object

func (*OutputMapValueIteratorValue) JSValue

func (_this *OutputMapValueIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Port

type Port struct {
	domcore.EventTarget
}

class: MIDIPort

func PortFromJS

func PortFromJS(value js.Wrapper) *Port

PortFromJS is casting a js.Wrapper into Port.

func (*Port) AddEventStateChange

func (_this *Port) AddEventStateChange(listener func(event *ConnectionEvent, currentTarget *Port)) js.Func

AddStateChange is adding doing AddEventListener for 'StateChange' on target. This method is returning allocated javascript function that need to be released.

func (*Port) Close

func (_this *Port) Close() (_result *PromisePort)

func (*Port) Connection

func (_this *Port) Connection() PortConnectionState

Connection returning attribute 'connection' with type PortConnectionState (idl: MIDIPortConnectionState).

func (*Port) Id

func (_this *Port) Id() string

Id returning attribute 'id' with type string (idl: DOMString).

func (*Port) Manufacturer

func (_this *Port) Manufacturer() *string

Manufacturer returning attribute 'manufacturer' with type string (idl: DOMString).

func (*Port) Name

func (_this *Port) Name() *string

Name returning attribute 'name' with type string (idl: DOMString).

func (*Port) OnStateChange

func (_this *Port) OnStateChange() domcore.EventHandlerFunc

OnStateChange returning attribute 'onstatechange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*Port) Open

func (_this *Port) Open() (_result *PromisePort)

func (*Port) SetOnStateChange

func (_this *Port) SetOnStateChange(listener func(event *ConnectionEvent, currentTarget *Port)) js.Func

SetOnStateChange is assigning a function to 'onstatechange'. This This method is returning allocated javascript function that need to be released.

func (*Port) State

func (_this *Port) State() PortDeviceState

State returning attribute 'state' with type PortDeviceState (idl: MIDIPortDeviceState).

func (*Port) Type

func (_this *Port) Type() PortType

Type returning attribute 'type' with type PortType (idl: MIDIPortType).

func (*Port) Version

func (_this *Port) Version() *string

Version returning attribute 'version' with type string (idl: DOMString).

type PortConnectionState

type PortConnectionState int

enum: MIDIPortConnectionState

const (
	Open PortConnectionState = iota
	Closed
	Pending
)

func PortConnectionStateFromJS

func PortConnectionStateFromJS(value js.Value) PortConnectionState

PortConnectionStateFromJS is converting a javascript value into a PortConnectionState enum value.

func (*PortConnectionState) JSValue

func (this *PortConnectionState) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (PortConnectionState) Value

func (this PortConnectionState) Value() string

Value is converting this into javascript defined string value

type PortDeviceState

type PortDeviceState int

enum: MIDIPortDeviceState

const (
	Disconnected PortDeviceState = iota
	Connected
)

func PortDeviceStateFromJS

func PortDeviceStateFromJS(value js.Value) PortDeviceState

PortDeviceStateFromJS is converting a javascript value into a PortDeviceState enum value.

func (*PortDeviceState) JSValue

func (this *PortDeviceState) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (PortDeviceState) Value

func (this PortDeviceState) Value() string

Value is converting this into javascript defined string value

type PortType

type PortType int

enum: MIDIPortType

const (
	InputPort PortType = iota
	OutputPort
)

func PortTypeFromJS

func PortTypeFromJS(value js.Value) PortType

PortTypeFromJS is converting a javascript value into a PortType enum value.

func (*PortType) JSValue

func (this *PortType) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (PortType) Value

func (this PortType) Value() string

Value is converting this into javascript defined string value

type PromiseAccess

type PromiseAccess struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: Promise

func PromiseAccessFromJS

func PromiseAccessFromJS(value js.Wrapper) *PromiseAccess

PromiseAccessFromJS is casting a js.Wrapper into PromiseAccess.

func (*PromiseAccess) Catch

func (_this *PromiseAccess) Catch(onRejected *PromiseAccessOnRejected) (_result *PromiseAccess)

func (*PromiseAccess) Finally

func (_this *PromiseAccess) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseAccess)

func (*PromiseAccess) JSValue

func (_this *PromiseAccess) JSValue() js.Value

func (*PromiseAccess) Then

func (_this *PromiseAccess) Then(onFulfilled *PromiseAccessOnFulfilled, onRejected *PromiseAccessOnRejected) (_result *PromiseAccess)

type PromiseAccessOnFulfilled

type PromiseAccessOnFulfilled js.Func

PromiseAccessOnFulfilled is a javascript function type.

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

func PromiseAccessOnFulfilledToJS

func PromiseAccessOnFulfilledToJS(callback PromiseAccessOnFulfilledFunc) *PromiseAccessOnFulfilled

type PromiseAccessOnFulfilledFunc

type PromiseAccessOnFulfilledFunc func(value *Access)

callback: PromiseTemplateOnFulfilled

func PromiseAccessOnFulfilledFromJS

func PromiseAccessOnFulfilledFromJS(_value js.Value) PromiseAccessOnFulfilledFunc

type PromiseAccessOnRejected

type PromiseAccessOnRejected js.Func

PromiseAccessOnRejected is a javascript function type.

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

func PromiseAccessOnRejectedToJS

func PromiseAccessOnRejectedToJS(callback PromiseAccessOnRejectedFunc) *PromiseAccessOnRejected

type PromiseAccessOnRejectedFunc

type PromiseAccessOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseAccessOnRejectedFromJS

func PromiseAccessOnRejectedFromJS(_value js.Value) PromiseAccessOnRejectedFunc

type PromisePort

type PromisePort struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: Promise

func PromisePortFromJS

func PromisePortFromJS(value js.Wrapper) *PromisePort

PromisePortFromJS is casting a js.Wrapper into PromisePort.

func (*PromisePort) Catch

func (_this *PromisePort) Catch(onRejected *PromisePortOnRejected) (_result *PromisePort)

func (*PromisePort) Finally

func (_this *PromisePort) Finally(onFinally *javascript.PromiseFinally) (_result *PromisePort)

func (*PromisePort) JSValue

func (_this *PromisePort) JSValue() js.Value

func (*PromisePort) Then

func (_this *PromisePort) Then(onFulfilled *PromisePortOnFulfilled, onRejected *PromisePortOnRejected) (_result *PromisePort)

type PromisePortOnFulfilled

type PromisePortOnFulfilled js.Func

PromisePortOnFulfilled is a javascript function type.

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

func PromisePortOnFulfilledToJS

func PromisePortOnFulfilledToJS(callback PromisePortOnFulfilledFunc) *PromisePortOnFulfilled

type PromisePortOnFulfilledFunc

type PromisePortOnFulfilledFunc func(value *Port)

callback: PromiseTemplateOnFulfilled

func PromisePortOnFulfilledFromJS

func PromisePortOnFulfilledFromJS(_value js.Value) PromisePortOnFulfilledFunc

type PromisePortOnRejected

type PromisePortOnRejected js.Func

PromisePortOnRejected is a javascript function type.

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

func PromisePortOnRejectedToJS

func PromisePortOnRejectedToJS(callback PromisePortOnRejectedFunc) *PromisePortOnRejected

type PromisePortOnRejectedFunc

type PromisePortOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromisePortOnRejectedFromJS

func PromisePortOnRejectedFromJS(_value js.Value) PromisePortOnRejectedFunc

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL