socket

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accept

func Accept(socketId int32, callback js.Func[func(acceptInfo *AcceptInfo)]) (ret js.Void)

Accept calls the function "WEBEXT.socket.accept" directly.

func Bind

func Bind(socketId int32, address js.String, port int32, callback js.Func[func(result int32)]) (ret js.Void)

Bind calls the function "WEBEXT.socket.bind" directly.

func Connect

func Connect(socketId int32, hostname js.String, port int32, callback js.Func[func(result int32)]) (ret js.Void)

Connect calls the function "WEBEXT.socket.connect" directly.

func Create

func Create(typ SocketType, options CreateOptions, callback js.Func[func(createInfo *CreateInfo)]) (ret js.Void)

Create calls the function "WEBEXT.socket.create" directly.

func Destroy

func Destroy(socketId int32) (ret js.Void)

Destroy calls the function "WEBEXT.socket.destroy" directly.

func Disconnect

func Disconnect(socketId int32) (ret js.Void)

Disconnect calls the function "WEBEXT.socket.disconnect" directly.

func FuncAccept

func FuncAccept() (fn js.Func[func(socketId int32, callback js.Func[func(acceptInfo *AcceptInfo)])])

FuncAccept returns the function "WEBEXT.socket.accept".

func FuncBind

func FuncBind() (fn js.Func[func(socketId int32, address js.String, port int32, callback js.Func[func(result int32)])])

FuncBind returns the function "WEBEXT.socket.bind".

func FuncConnect

func FuncConnect() (fn js.Func[func(socketId int32, hostname js.String, port int32, callback js.Func[func(result int32)])])

FuncConnect returns the function "WEBEXT.socket.connect".

func FuncCreate

func FuncCreate() (fn js.Func[func(typ SocketType, options CreateOptions, callback js.Func[func(createInfo *CreateInfo)])])

FuncCreate returns the function "WEBEXT.socket.create".

func FuncDestroy

func FuncDestroy() (fn js.Func[func(socketId int32)])

FuncDestroy returns the function "WEBEXT.socket.destroy".

func FuncDisconnect

func FuncDisconnect() (fn js.Func[func(socketId int32)])

FuncDisconnect returns the function "WEBEXT.socket.disconnect".

func FuncGetInfo

func FuncGetInfo() (fn js.Func[func(socketId int32, callback js.Func[func(result *SocketInfo)])])

FuncGetInfo returns the function "WEBEXT.socket.getInfo".

func FuncGetJoinedGroups

func FuncGetJoinedGroups() (fn js.Func[func(socketId int32, callback js.Func[func(groups js.Array[js.String])])])

FuncGetJoinedGroups returns the function "WEBEXT.socket.getJoinedGroups".

func FuncGetNetworkList

func FuncGetNetworkList() (fn js.Func[func(callback js.Func[func(result js.Array[NetworkInterface])])])

FuncGetNetworkList returns the function "WEBEXT.socket.getNetworkList".

func FuncJoinGroup

func FuncJoinGroup() (fn js.Func[func(socketId int32, address js.String, callback js.Func[func(result int32)])])

FuncJoinGroup returns the function "WEBEXT.socket.joinGroup".

func FuncLeaveGroup

func FuncLeaveGroup() (fn js.Func[func(socketId int32, address js.String, callback js.Func[func(result int32)])])

FuncLeaveGroup returns the function "WEBEXT.socket.leaveGroup".

func FuncListen

func FuncListen() (fn js.Func[func(socketId int32, address js.String, port int32, backlog int32, callback js.Func[func(result int32)])])

FuncListen returns the function "WEBEXT.socket.listen".

func FuncRead

func FuncRead() (fn js.Func[func(socketId int32, bufferSize int32, callback js.Func[func(readInfo *ReadInfo)])])

FuncRead returns the function "WEBEXT.socket.read".

func FuncRecvFrom

func FuncRecvFrom() (fn js.Func[func(socketId int32, bufferSize int32, callback js.Func[func(recvFromInfo *RecvFromInfo)])])

FuncRecvFrom returns the function "WEBEXT.socket.recvFrom".

func FuncSecure

func FuncSecure() (fn js.Func[func(socketId int32, options SecureOptions, callback js.Func[func(result int32)])])

FuncSecure returns the function "WEBEXT.socket.secure".

func FuncSendTo

func FuncSendTo() (fn js.Func[func(socketId int32, data js.ArrayBuffer, address js.String, port int32, callback js.Func[func(writeInfo *WriteInfo)])])

FuncSendTo returns the function "WEBEXT.socket.sendTo".

func FuncSetKeepAlive

func FuncSetKeepAlive() (fn js.Func[func(socketId int32, enable bool, delay int32, callback js.Func[func(result bool)])])

FuncSetKeepAlive returns the function "WEBEXT.socket.setKeepAlive".

func FuncSetMulticastLoopbackMode

func FuncSetMulticastLoopbackMode() (fn js.Func[func(socketId int32, enabled bool, callback js.Func[func(result int32)])])

FuncSetMulticastLoopbackMode returns the function "WEBEXT.socket.setMulticastLoopbackMode".

func FuncSetMulticastTimeToLive

func FuncSetMulticastTimeToLive() (fn js.Func[func(socketId int32, ttl int32, callback js.Func[func(result int32)])])

FuncSetMulticastTimeToLive returns the function "WEBEXT.socket.setMulticastTimeToLive".

func FuncSetNoDelay

func FuncSetNoDelay() (fn js.Func[func(socketId int32, noDelay bool, callback js.Func[func(result bool)])])

FuncSetNoDelay returns the function "WEBEXT.socket.setNoDelay".

func FuncWrite

func FuncWrite() (fn js.Func[func(socketId int32, data js.ArrayBuffer, callback js.Func[func(writeInfo *WriteInfo)])])

FuncWrite returns the function "WEBEXT.socket.write".

func GetInfo

func GetInfo(socketId int32, callback js.Func[func(result *SocketInfo)]) (ret js.Void)

GetInfo calls the function "WEBEXT.socket.getInfo" directly.

func GetJoinedGroups

func GetJoinedGroups(socketId int32, callback js.Func[func(groups js.Array[js.String])]) (ret js.Void)

GetJoinedGroups calls the function "WEBEXT.socket.getJoinedGroups" directly.

func GetNetworkList

func GetNetworkList(callback js.Func[func(result js.Array[NetworkInterface])]) (ret js.Void)

GetNetworkList calls the function "WEBEXT.socket.getNetworkList" directly.

func HasFuncAccept

func HasFuncAccept() bool

HasFuncAccept returns true if the function "WEBEXT.socket.accept" exists.

func HasFuncBind

func HasFuncBind() bool

HasFuncBind returns true if the function "WEBEXT.socket.bind" exists.

func HasFuncConnect

func HasFuncConnect() bool

HasFuncConnect returns true if the function "WEBEXT.socket.connect" exists.

func HasFuncCreate

func HasFuncCreate() bool

HasFuncCreate returns true if the function "WEBEXT.socket.create" exists.

func HasFuncDestroy

func HasFuncDestroy() bool

HasFuncDestroy returns true if the function "WEBEXT.socket.destroy" exists.

func HasFuncDisconnect

func HasFuncDisconnect() bool

HasFuncDisconnect returns true if the function "WEBEXT.socket.disconnect" exists.

func HasFuncGetInfo

func HasFuncGetInfo() bool

HasFuncGetInfo returns true if the function "WEBEXT.socket.getInfo" exists.

func HasFuncGetJoinedGroups

func HasFuncGetJoinedGroups() bool

HasFuncGetJoinedGroups returns true if the function "WEBEXT.socket.getJoinedGroups" exists.

func HasFuncGetNetworkList

func HasFuncGetNetworkList() bool

HasFuncGetNetworkList returns true if the function "WEBEXT.socket.getNetworkList" exists.

func HasFuncJoinGroup

func HasFuncJoinGroup() bool

HasFuncJoinGroup returns true if the function "WEBEXT.socket.joinGroup" exists.

func HasFuncLeaveGroup

func HasFuncLeaveGroup() bool

HasFuncLeaveGroup returns true if the function "WEBEXT.socket.leaveGroup" exists.

func HasFuncListen

func HasFuncListen() bool

HasFuncListen returns true if the function "WEBEXT.socket.listen" exists.

func HasFuncRead

func HasFuncRead() bool

HasFuncRead returns true if the function "WEBEXT.socket.read" exists.

func HasFuncRecvFrom

func HasFuncRecvFrom() bool

HasFuncRecvFrom returns true if the function "WEBEXT.socket.recvFrom" exists.

func HasFuncSecure

func HasFuncSecure() bool

HasFuncSecure returns true if the function "WEBEXT.socket.secure" exists.

func HasFuncSendTo

func HasFuncSendTo() bool

HasFuncSendTo returns true if the function "WEBEXT.socket.sendTo" exists.

func HasFuncSetKeepAlive

func HasFuncSetKeepAlive() bool

HasFuncSetKeepAlive returns true if the function "WEBEXT.socket.setKeepAlive" exists.

func HasFuncSetMulticastLoopbackMode

func HasFuncSetMulticastLoopbackMode() bool

HasFuncSetMulticastLoopbackMode returns true if the function "WEBEXT.socket.setMulticastLoopbackMode" exists.

func HasFuncSetMulticastTimeToLive

func HasFuncSetMulticastTimeToLive() bool

HasFuncSetMulticastTimeToLive returns true if the function "WEBEXT.socket.setMulticastTimeToLive" exists.

func HasFuncSetNoDelay

func HasFuncSetNoDelay() bool

HasFuncSetNoDelay returns true if the function "WEBEXT.socket.setNoDelay" exists.

func HasFuncWrite

func HasFuncWrite() bool

HasFuncWrite returns true if the function "WEBEXT.socket.write" exists.

func JoinGroup

func JoinGroup(socketId int32, address js.String, callback js.Func[func(result int32)]) (ret js.Void)

JoinGroup calls the function "WEBEXT.socket.joinGroup" directly.

func LeaveGroup

func LeaveGroup(socketId int32, address js.String, callback js.Func[func(result int32)]) (ret js.Void)

LeaveGroup calls the function "WEBEXT.socket.leaveGroup" directly.

func Listen

func Listen(socketId int32, address js.String, port int32, backlog int32, callback js.Func[func(result int32)]) (ret js.Void)

Listen calls the function "WEBEXT.socket.listen" directly.

func Read

func Read(socketId int32, bufferSize int32, callback js.Func[func(readInfo *ReadInfo)]) (ret js.Void)

Read calls the function "WEBEXT.socket.read" directly.

func RecvFrom

func RecvFrom(socketId int32, bufferSize int32, callback js.Func[func(recvFromInfo *RecvFromInfo)]) (ret js.Void)

RecvFrom calls the function "WEBEXT.socket.recvFrom" directly.

func Secure

func Secure(socketId int32, options SecureOptions, callback js.Func[func(result int32)]) (ret js.Void)

Secure calls the function "WEBEXT.socket.secure" directly.

func SendTo

func SendTo(socketId int32, data js.ArrayBuffer, address js.String, port int32, callback js.Func[func(writeInfo *WriteInfo)]) (ret js.Void)

SendTo calls the function "WEBEXT.socket.sendTo" directly.

func SetKeepAlive

func SetKeepAlive(socketId int32, enable bool, delay int32, callback js.Func[func(result bool)]) (ret js.Void)

SetKeepAlive calls the function "WEBEXT.socket.setKeepAlive" directly.

func SetMulticastLoopbackMode

func SetMulticastLoopbackMode(socketId int32, enabled bool, callback js.Func[func(result int32)]) (ret js.Void)

SetMulticastLoopbackMode calls the function "WEBEXT.socket.setMulticastLoopbackMode" directly.

func SetMulticastTimeToLive

func SetMulticastTimeToLive(socketId int32, ttl int32, callback js.Func[func(result int32)]) (ret js.Void)

SetMulticastTimeToLive calls the function "WEBEXT.socket.setMulticastTimeToLive" directly.

func SetNoDelay

func SetNoDelay(socketId int32, noDelay bool, callback js.Func[func(result bool)]) (ret js.Void)

SetNoDelay calls the function "WEBEXT.socket.setNoDelay" directly.

func TryAccept

func TryAccept(socketId int32, callback js.Func[func(acceptInfo *AcceptInfo)]) (ret js.Void, exception js.Any, ok bool)

TryAccept calls the function "WEBEXT.socket.accept" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryBind

func TryBind(socketId int32, address js.String, port int32, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TryBind calls the function "WEBEXT.socket.bind" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryConnect

func TryConnect(socketId int32, hostname js.String, port int32, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TryConnect calls the function "WEBEXT.socket.connect" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryCreate

func TryCreate(typ SocketType, options CreateOptions, callback js.Func[func(createInfo *CreateInfo)]) (ret js.Void, exception js.Any, ok bool)

TryCreate calls the function "WEBEXT.socket.create" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryDestroy

func TryDestroy(socketId int32) (ret js.Void, exception js.Any, ok bool)

TryDestroy calls the function "WEBEXT.socket.destroy" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryDisconnect

func TryDisconnect(socketId int32) (ret js.Void, exception js.Any, ok bool)

TryDisconnect calls the function "WEBEXT.socket.disconnect" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryGetInfo

func TryGetInfo(socketId int32, callback js.Func[func(result *SocketInfo)]) (ret js.Void, exception js.Any, ok bool)

TryGetInfo calls the function "WEBEXT.socket.getInfo" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryGetJoinedGroups

func TryGetJoinedGroups(socketId int32, callback js.Func[func(groups js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)

TryGetJoinedGroups calls the function "WEBEXT.socket.getJoinedGroups" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryGetNetworkList

func TryGetNetworkList(callback js.Func[func(result js.Array[NetworkInterface])]) (ret js.Void, exception js.Any, ok bool)

TryGetNetworkList calls the function "WEBEXT.socket.getNetworkList" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryJoinGroup

func TryJoinGroup(socketId int32, address js.String, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TryJoinGroup calls the function "WEBEXT.socket.joinGroup" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryLeaveGroup

func TryLeaveGroup(socketId int32, address js.String, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TryLeaveGroup calls the function "WEBEXT.socket.leaveGroup" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryListen

func TryListen(socketId int32, address js.String, port int32, backlog int32, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TryListen calls the function "WEBEXT.socket.listen" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryRead

func TryRead(socketId int32, bufferSize int32, callback js.Func[func(readInfo *ReadInfo)]) (ret js.Void, exception js.Any, ok bool)

TryRead calls the function "WEBEXT.socket.read" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryRecvFrom

func TryRecvFrom(socketId int32, bufferSize int32, callback js.Func[func(recvFromInfo *RecvFromInfo)]) (ret js.Void, exception js.Any, ok bool)

TryRecvFrom calls the function "WEBEXT.socket.recvFrom" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySecure

func TrySecure(socketId int32, options SecureOptions, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TrySecure calls the function "WEBEXT.socket.secure" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySendTo

func TrySendTo(socketId int32, data js.ArrayBuffer, address js.String, port int32, callback js.Func[func(writeInfo *WriteInfo)]) (ret js.Void, exception js.Any, ok bool)

TrySendTo calls the function "WEBEXT.socket.sendTo" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySetKeepAlive

func TrySetKeepAlive(socketId int32, enable bool, delay int32, callback js.Func[func(result bool)]) (ret js.Void, exception js.Any, ok bool)

TrySetKeepAlive calls the function "WEBEXT.socket.setKeepAlive" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySetMulticastLoopbackMode

func TrySetMulticastLoopbackMode(socketId int32, enabled bool, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TrySetMulticastLoopbackMode calls the function "WEBEXT.socket.setMulticastLoopbackMode" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySetMulticastTimeToLive

func TrySetMulticastTimeToLive(socketId int32, ttl int32, callback js.Func[func(result int32)]) (ret js.Void, exception js.Any, ok bool)

TrySetMulticastTimeToLive calls the function "WEBEXT.socket.setMulticastTimeToLive" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TrySetNoDelay

func TrySetNoDelay(socketId int32, noDelay bool, callback js.Func[func(result bool)]) (ret js.Void, exception js.Any, ok bool)

TrySetNoDelay calls the function "WEBEXT.socket.setNoDelay" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryWrite

func TryWrite(socketId int32, data js.ArrayBuffer, callback js.Func[func(writeInfo *WriteInfo)]) (ret js.Void, exception js.Any, ok bool)

TryWrite calls the function "WEBEXT.socket.write" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func Write

func Write(socketId int32, data js.ArrayBuffer, callback js.Func[func(writeInfo *WriteInfo)]) (ret js.Void)

Write calls the function "WEBEXT.socket.write" directly.

Types

type AcceptCallback

type AcceptCallback[T any] struct {
	Fn  func(arg T, this js.Ref, acceptInfo *AcceptInfo) js.Ref
	Arg T
}

func (*AcceptCallback[T]) DispatchCallback

func (cb *AcceptCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*AcceptCallback[T]) Register

func (cb *AcceptCallback[T]) Register() js.Func[func(acceptInfo *AcceptInfo)]

type AcceptCallbackFunc

type AcceptCallbackFunc func(this js.Ref, acceptInfo *AcceptInfo) js.Ref

func (AcceptCallbackFunc) DispatchCallback

func (fn AcceptCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (AcceptCallbackFunc) Register

func (fn AcceptCallbackFunc) Register() js.Func[func(acceptInfo *AcceptInfo)]

type AcceptInfo

type AcceptInfo struct {
	// ResultCode is "AcceptInfo.resultCode"
	//
	// Optional
	//
	// NOTE: FFI_USE_ResultCode MUST be set to true to make this field effective.
	ResultCode int32
	// SocketId is "AcceptInfo.socketId"
	//
	// Optional
	//
	// NOTE: FFI_USE_SocketId MUST be set to true to make this field effective.
	SocketId int32

	FFI_USE_ResultCode bool // for ResultCode.
	FFI_USE_SocketId   bool // for SocketId.

	FFI_USE bool
}

func (*AcceptInfo) FreeMembers

func (p *AcceptInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (AcceptInfo) FromRef

func (p AcceptInfo) FromRef(ref js.Ref) AcceptInfo

FromRef calls UpdateFrom and returns a AcceptInfo with all fields set.

func (AcceptInfo) New

func (p AcceptInfo) New() js.Ref

New creates a new AcceptInfo in the application heap.

func (*AcceptInfo) Update

func (p *AcceptInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*AcceptInfo) UpdateFrom

func (p *AcceptInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type BindCallback

type BindCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*BindCallback[T]) DispatchCallback

func (cb *BindCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*BindCallback[T]) Register

func (cb *BindCallback[T]) Register() js.Func[func(result int32)]

type BindCallbackFunc

type BindCallbackFunc func(this js.Ref, result int32) js.Ref

func (BindCallbackFunc) DispatchCallback

func (fn BindCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (BindCallbackFunc) Register

func (fn BindCallbackFunc) Register() js.Func[func(result int32)]

type ConnectCallback

type ConnectCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*ConnectCallback[T]) DispatchCallback

func (cb *ConnectCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*ConnectCallback[T]) Register

func (cb *ConnectCallback[T]) Register() js.Func[func(result int32)]

type ConnectCallbackFunc

type ConnectCallbackFunc func(this js.Ref, result int32) js.Ref

func (ConnectCallbackFunc) DispatchCallback

func (fn ConnectCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (ConnectCallbackFunc) Register

func (fn ConnectCallbackFunc) Register() js.Func[func(result int32)]

type CreateCallback

type CreateCallback[T any] struct {
	Fn  func(arg T, this js.Ref, createInfo *CreateInfo) js.Ref
	Arg T
}

func (*CreateCallback[T]) DispatchCallback

func (cb *CreateCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*CreateCallback[T]) Register

func (cb *CreateCallback[T]) Register() js.Func[func(createInfo *CreateInfo)]

type CreateCallbackFunc

type CreateCallbackFunc func(this js.Ref, createInfo *CreateInfo) js.Ref

func (CreateCallbackFunc) DispatchCallback

func (fn CreateCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (CreateCallbackFunc) Register

func (fn CreateCallbackFunc) Register() js.Func[func(createInfo *CreateInfo)]

type CreateInfo

type CreateInfo struct {
	// SocketId is "CreateInfo.socketId"
	//
	// Optional
	//
	// NOTE: FFI_USE_SocketId MUST be set to true to make this field effective.
	SocketId int32

	FFI_USE_SocketId bool // for SocketId.

	FFI_USE bool
}

func (*CreateInfo) FreeMembers

func (p *CreateInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (CreateInfo) FromRef

func (p CreateInfo) FromRef(ref js.Ref) CreateInfo

FromRef calls UpdateFrom and returns a CreateInfo with all fields set.

func (CreateInfo) New

func (p CreateInfo) New() js.Ref

New creates a new CreateInfo in the application heap.

func (*CreateInfo) Update

func (p *CreateInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*CreateInfo) UpdateFrom

func (p *CreateInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type CreateOptions

type CreateOptions struct {
	FFI_USE bool
}

func (*CreateOptions) FreeMembers

func (p *CreateOptions) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (CreateOptions) FromRef

func (p CreateOptions) FromRef(ref js.Ref) CreateOptions

FromRef calls UpdateFrom and returns a CreateOptions with all fields set.

func (CreateOptions) New

func (p CreateOptions) New() js.Ref

New creates a new CreateOptions in the application heap.

func (*CreateOptions) Update

func (p *CreateOptions) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*CreateOptions) UpdateFrom

func (p *CreateOptions) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type GetInfoCallback

type GetInfoCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result *SocketInfo) js.Ref
	Arg T
}

func (*GetInfoCallback[T]) DispatchCallback

func (cb *GetInfoCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*GetInfoCallback[T]) Register

func (cb *GetInfoCallback[T]) Register() js.Func[func(result *SocketInfo)]

type GetInfoCallbackFunc

type GetInfoCallbackFunc func(this js.Ref, result *SocketInfo) js.Ref

func (GetInfoCallbackFunc) DispatchCallback

func (fn GetInfoCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (GetInfoCallbackFunc) Register

func (fn GetInfoCallbackFunc) Register() js.Func[func(result *SocketInfo)]

type GetJoinedGroupsCallback

type GetJoinedGroupsCallback[T any] struct {
	Fn  func(arg T, this js.Ref, groups js.Array[js.String]) js.Ref
	Arg T
}

func (*GetJoinedGroupsCallback[T]) DispatchCallback

func (cb *GetJoinedGroupsCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*GetJoinedGroupsCallback[T]) Register

func (cb *GetJoinedGroupsCallback[T]) Register() js.Func[func(groups js.Array[js.String])]

type GetJoinedGroupsCallbackFunc

type GetJoinedGroupsCallbackFunc func(this js.Ref, groups js.Array[js.String]) js.Ref

func (GetJoinedGroupsCallbackFunc) DispatchCallback

func (fn GetJoinedGroupsCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (GetJoinedGroupsCallbackFunc) Register

func (fn GetJoinedGroupsCallbackFunc) Register() js.Func[func(groups js.Array[js.String])]

type GetNetworkCallback

type GetNetworkCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result js.Array[NetworkInterface]) js.Ref
	Arg T
}

func (*GetNetworkCallback[T]) DispatchCallback

func (cb *GetNetworkCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*GetNetworkCallback[T]) Register

func (cb *GetNetworkCallback[T]) Register() js.Func[func(result js.Array[NetworkInterface])]

type GetNetworkCallbackFunc

type GetNetworkCallbackFunc func(this js.Ref, result js.Array[NetworkInterface]) js.Ref

func (GetNetworkCallbackFunc) DispatchCallback

func (fn GetNetworkCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (GetNetworkCallbackFunc) Register

func (fn GetNetworkCallbackFunc) Register() js.Func[func(result js.Array[NetworkInterface])]

type JoinGroupCallback

type JoinGroupCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*JoinGroupCallback[T]) DispatchCallback

func (cb *JoinGroupCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*JoinGroupCallback[T]) Register

func (cb *JoinGroupCallback[T]) Register() js.Func[func(result int32)]

type JoinGroupCallbackFunc

type JoinGroupCallbackFunc func(this js.Ref, result int32) js.Ref

func (JoinGroupCallbackFunc) DispatchCallback

func (fn JoinGroupCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (JoinGroupCallbackFunc) Register

func (fn JoinGroupCallbackFunc) Register() js.Func[func(result int32)]

type LeaveGroupCallback

type LeaveGroupCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*LeaveGroupCallback[T]) DispatchCallback

func (cb *LeaveGroupCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*LeaveGroupCallback[T]) Register

func (cb *LeaveGroupCallback[T]) Register() js.Func[func(result int32)]

type LeaveGroupCallbackFunc

type LeaveGroupCallbackFunc func(this js.Ref, result int32) js.Ref

func (LeaveGroupCallbackFunc) DispatchCallback

func (fn LeaveGroupCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (LeaveGroupCallbackFunc) Register

func (fn LeaveGroupCallbackFunc) Register() js.Func[func(result int32)]

type ListenCallback

type ListenCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*ListenCallback[T]) DispatchCallback

func (cb *ListenCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*ListenCallback[T]) Register

func (cb *ListenCallback[T]) Register() js.Func[func(result int32)]

type ListenCallbackFunc

type ListenCallbackFunc func(this js.Ref, result int32) js.Ref

func (ListenCallbackFunc) DispatchCallback

func (fn ListenCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (ListenCallbackFunc) Register

func (fn ListenCallbackFunc) Register() js.Func[func(result int32)]

type NetworkInterface

type NetworkInterface struct {
	// Name is "NetworkInterface.name"
	//
	// Optional
	Name js.String
	// Address is "NetworkInterface.address"
	//
	// Optional
	Address js.String
	// PrefixLength is "NetworkInterface.prefixLength"
	//
	// Optional
	//
	// NOTE: FFI_USE_PrefixLength MUST be set to true to make this field effective.
	PrefixLength int32

	FFI_USE_PrefixLength bool // for PrefixLength.

	FFI_USE bool
}

func (*NetworkInterface) FreeMembers

func (p *NetworkInterface) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (NetworkInterface) FromRef

func (p NetworkInterface) FromRef(ref js.Ref) NetworkInterface

FromRef calls UpdateFrom and returns a NetworkInterface with all fields set.

func (NetworkInterface) New

func (p NetworkInterface) New() js.Ref

New creates a new NetworkInterface in the application heap.

func (*NetworkInterface) Update

func (p *NetworkInterface) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*NetworkInterface) UpdateFrom

func (p *NetworkInterface) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type ReadCallback

type ReadCallback[T any] struct {
	Fn  func(arg T, this js.Ref, readInfo *ReadInfo) js.Ref
	Arg T
}

func (*ReadCallback[T]) DispatchCallback

func (cb *ReadCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*ReadCallback[T]) Register

func (cb *ReadCallback[T]) Register() js.Func[func(readInfo *ReadInfo)]

type ReadCallbackFunc

type ReadCallbackFunc func(this js.Ref, readInfo *ReadInfo) js.Ref

func (ReadCallbackFunc) DispatchCallback

func (fn ReadCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (ReadCallbackFunc) Register

func (fn ReadCallbackFunc) Register() js.Func[func(readInfo *ReadInfo)]

type ReadInfo

type ReadInfo struct {
	// ResultCode is "ReadInfo.resultCode"
	//
	// Optional
	//
	// NOTE: FFI_USE_ResultCode MUST be set to true to make this field effective.
	ResultCode int32
	// Data is "ReadInfo.data"
	//
	// Optional
	Data js.ArrayBuffer

	FFI_USE_ResultCode bool // for ResultCode.

	FFI_USE bool
}

func (*ReadInfo) FreeMembers

func (p *ReadInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (ReadInfo) FromRef

func (p ReadInfo) FromRef(ref js.Ref) ReadInfo

FromRef calls UpdateFrom and returns a ReadInfo with all fields set.

func (ReadInfo) New

func (p ReadInfo) New() js.Ref

New creates a new ReadInfo in the application heap.

func (*ReadInfo) Update

func (p *ReadInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*ReadInfo) UpdateFrom

func (p *ReadInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type RecvFromCallback

type RecvFromCallback[T any] struct {
	Fn  func(arg T, this js.Ref, recvFromInfo *RecvFromInfo) js.Ref
	Arg T
}

func (*RecvFromCallback[T]) DispatchCallback

func (cb *RecvFromCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*RecvFromCallback[T]) Register

func (cb *RecvFromCallback[T]) Register() js.Func[func(recvFromInfo *RecvFromInfo)]

type RecvFromCallbackFunc

type RecvFromCallbackFunc func(this js.Ref, recvFromInfo *RecvFromInfo) js.Ref

func (RecvFromCallbackFunc) DispatchCallback

func (fn RecvFromCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (RecvFromCallbackFunc) Register

func (fn RecvFromCallbackFunc) Register() js.Func[func(recvFromInfo *RecvFromInfo)]

type RecvFromInfo

type RecvFromInfo struct {
	// ResultCode is "RecvFromInfo.resultCode"
	//
	// Optional
	//
	// NOTE: FFI_USE_ResultCode MUST be set to true to make this field effective.
	ResultCode int32
	// Data is "RecvFromInfo.data"
	//
	// Optional
	Data js.ArrayBuffer
	// Address is "RecvFromInfo.address"
	//
	// Optional
	Address js.String
	// Port is "RecvFromInfo.port"
	//
	// Optional
	//
	// NOTE: FFI_USE_Port MUST be set to true to make this field effective.
	Port int32

	FFI_USE_ResultCode bool // for ResultCode.
	FFI_USE_Port       bool // for Port.

	FFI_USE bool
}

func (*RecvFromInfo) FreeMembers

func (p *RecvFromInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (RecvFromInfo) FromRef

func (p RecvFromInfo) FromRef(ref js.Ref) RecvFromInfo

FromRef calls UpdateFrom and returns a RecvFromInfo with all fields set.

func (RecvFromInfo) New

func (p RecvFromInfo) New() js.Ref

New creates a new RecvFromInfo in the application heap.

func (*RecvFromInfo) Update

func (p *RecvFromInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*RecvFromInfo) UpdateFrom

func (p *RecvFromInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type SecureCallback

type SecureCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*SecureCallback[T]) DispatchCallback

func (cb *SecureCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SecureCallback[T]) Register

func (cb *SecureCallback[T]) Register() js.Func[func(result int32)]

type SecureCallbackFunc

type SecureCallbackFunc func(this js.Ref, result int32) js.Ref

func (SecureCallbackFunc) DispatchCallback

func (fn SecureCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SecureCallbackFunc) Register

func (fn SecureCallbackFunc) Register() js.Func[func(result int32)]

type SecureOptions

type SecureOptions struct {
	// TlsVersion is "SecureOptions.tlsVersion"
	//
	// Optional
	//
	// NOTE: TlsVersion.FFI_USE MUST be set to true to get TlsVersion used.
	TlsVersion TLSVersionConstraints

	FFI_USE bool
}

func (*SecureOptions) FreeMembers

func (p *SecureOptions) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (SecureOptions) FromRef

func (p SecureOptions) FromRef(ref js.Ref) SecureOptions

FromRef calls UpdateFrom and returns a SecureOptions with all fields set.

func (SecureOptions) New

func (p SecureOptions) New() js.Ref

New creates a new SecureOptions in the application heap.

func (*SecureOptions) Update

func (p *SecureOptions) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*SecureOptions) UpdateFrom

func (p *SecureOptions) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type SendToCallback

type SendToCallback[T any] struct {
	Fn  func(arg T, this js.Ref, writeInfo *WriteInfo) js.Ref
	Arg T
}

func (*SendToCallback[T]) DispatchCallback

func (cb *SendToCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SendToCallback[T]) Register

func (cb *SendToCallback[T]) Register() js.Func[func(writeInfo *WriteInfo)]

type SendToCallbackFunc

type SendToCallbackFunc func(this js.Ref, writeInfo *WriteInfo) js.Ref

func (SendToCallbackFunc) DispatchCallback

func (fn SendToCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SendToCallbackFunc) Register

func (fn SendToCallbackFunc) Register() js.Func[func(writeInfo *WriteInfo)]

type SetKeepAliveCallback

type SetKeepAliveCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result bool) js.Ref
	Arg T
}

func (*SetKeepAliveCallback[T]) DispatchCallback

func (cb *SetKeepAliveCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SetKeepAliveCallback[T]) Register

func (cb *SetKeepAliveCallback[T]) Register() js.Func[func(result bool)]

type SetKeepAliveCallbackFunc

type SetKeepAliveCallbackFunc func(this js.Ref, result bool) js.Ref

func (SetKeepAliveCallbackFunc) DispatchCallback

func (fn SetKeepAliveCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SetKeepAliveCallbackFunc) Register

func (fn SetKeepAliveCallbackFunc) Register() js.Func[func(result bool)]

type SetMulticastLoopbackModeCallback

type SetMulticastLoopbackModeCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*SetMulticastLoopbackModeCallback[T]) DispatchCallback

func (cb *SetMulticastLoopbackModeCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SetMulticastLoopbackModeCallback[T]) Register

func (cb *SetMulticastLoopbackModeCallback[T]) Register() js.Func[func(result int32)]

type SetMulticastLoopbackModeCallbackFunc

type SetMulticastLoopbackModeCallbackFunc func(this js.Ref, result int32) js.Ref

func (SetMulticastLoopbackModeCallbackFunc) DispatchCallback

func (fn SetMulticastLoopbackModeCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SetMulticastLoopbackModeCallbackFunc) Register

func (fn SetMulticastLoopbackModeCallbackFunc) Register() js.Func[func(result int32)]

type SetMulticastTimeToLiveCallback

type SetMulticastTimeToLiveCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result int32) js.Ref
	Arg T
}

func (*SetMulticastTimeToLiveCallback[T]) DispatchCallback

func (cb *SetMulticastTimeToLiveCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SetMulticastTimeToLiveCallback[T]) Register

func (cb *SetMulticastTimeToLiveCallback[T]) Register() js.Func[func(result int32)]

type SetMulticastTimeToLiveCallbackFunc

type SetMulticastTimeToLiveCallbackFunc func(this js.Ref, result int32) js.Ref

func (SetMulticastTimeToLiveCallbackFunc) DispatchCallback

func (fn SetMulticastTimeToLiveCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SetMulticastTimeToLiveCallbackFunc) Register

func (fn SetMulticastTimeToLiveCallbackFunc) Register() js.Func[func(result int32)]

type SetNoDelayCallback

type SetNoDelayCallback[T any] struct {
	Fn  func(arg T, this js.Ref, result bool) js.Ref
	Arg T
}

func (*SetNoDelayCallback[T]) DispatchCallback

func (cb *SetNoDelayCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*SetNoDelayCallback[T]) Register

func (cb *SetNoDelayCallback[T]) Register() js.Func[func(result bool)]

type SetNoDelayCallbackFunc

type SetNoDelayCallbackFunc func(this js.Ref, result bool) js.Ref

func (SetNoDelayCallbackFunc) DispatchCallback

func (fn SetNoDelayCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (SetNoDelayCallbackFunc) Register

func (fn SetNoDelayCallbackFunc) Register() js.Func[func(result bool)]

type SocketInfo

type SocketInfo struct {
	// SocketType is "SocketInfo.socketType"
	//
	// Optional
	SocketType SocketType
	// Connected is "SocketInfo.connected"
	//
	// Optional
	//
	// NOTE: FFI_USE_Connected MUST be set to true to make this field effective.
	Connected bool
	// PeerAddress is "SocketInfo.peerAddress"
	//
	// Optional
	PeerAddress js.String
	// PeerPort is "SocketInfo.peerPort"
	//
	// Optional
	//
	// NOTE: FFI_USE_PeerPort MUST be set to true to make this field effective.
	PeerPort int32
	// LocalAddress is "SocketInfo.localAddress"
	//
	// Optional
	LocalAddress js.String
	// LocalPort is "SocketInfo.localPort"
	//
	// Optional
	//
	// NOTE: FFI_USE_LocalPort MUST be set to true to make this field effective.
	LocalPort int32

	FFI_USE_Connected bool // for Connected.
	FFI_USE_PeerPort  bool // for PeerPort.
	FFI_USE_LocalPort bool // for LocalPort.

	FFI_USE bool
}

func (*SocketInfo) FreeMembers

func (p *SocketInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (SocketInfo) FromRef

func (p SocketInfo) FromRef(ref js.Ref) SocketInfo

FromRef calls UpdateFrom and returns a SocketInfo with all fields set.

func (SocketInfo) New

func (p SocketInfo) New() js.Ref

New creates a new SocketInfo in the application heap.

func (*SocketInfo) Update

func (p *SocketInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*SocketInfo) UpdateFrom

func (p *SocketInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type SocketType

type SocketType uint32
const (
	SocketType_TCP SocketType
	SocketType_UDP
)

func (SocketType) FromRef

func (SocketType) FromRef(str js.Ref) SocketType

func (SocketType) String

func (x SocketType) String() (string, bool)

type TLSVersionConstraints

type TLSVersionConstraints struct {
	// Min is "TLSVersionConstraints.min"
	//
	// Optional
	Min js.String
	// Max is "TLSVersionConstraints.max"
	//
	// Optional
	Max js.String

	FFI_USE bool
}

func (*TLSVersionConstraints) FreeMembers

func (p *TLSVersionConstraints) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (TLSVersionConstraints) FromRef

FromRef calls UpdateFrom and returns a TLSVersionConstraints with all fields set.

func (TLSVersionConstraints) New

func (p TLSVersionConstraints) New() js.Ref

New creates a new TLSVersionConstraints in the application heap.

func (*TLSVersionConstraints) Update

func (p *TLSVersionConstraints) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*TLSVersionConstraints) UpdateFrom

func (p *TLSVersionConstraints) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type WriteCallback

type WriteCallback[T any] struct {
	Fn  func(arg T, this js.Ref, writeInfo *WriteInfo) js.Ref
	Arg T
}

func (*WriteCallback[T]) DispatchCallback

func (cb *WriteCallback[T]) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (*WriteCallback[T]) Register

func (cb *WriteCallback[T]) Register() js.Func[func(writeInfo *WriteInfo)]

type WriteCallbackFunc

type WriteCallbackFunc func(this js.Ref, writeInfo *WriteInfo) js.Ref

func (WriteCallbackFunc) DispatchCallback

func (fn WriteCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (WriteCallbackFunc) Register

func (fn WriteCallbackFunc) Register() js.Func[func(writeInfo *WriteInfo)]

type WriteInfo

type WriteInfo struct {
	// BytesWritten is "WriteInfo.bytesWritten"
	//
	// Optional
	//
	// NOTE: FFI_USE_BytesWritten MUST be set to true to make this field effective.
	BytesWritten int32

	FFI_USE_BytesWritten bool // for BytesWritten.

	FFI_USE bool
}

func (*WriteInfo) FreeMembers

func (p *WriteInfo) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (WriteInfo) FromRef

func (p WriteInfo) FromRef(ref js.Ref) WriteInfo

FromRef calls UpdateFrom and returns a WriteInfo with all fields set.

func (WriteInfo) New

func (p WriteInfo) New() js.Ref

New creates a new WriteInfo in the application heap.

func (*WriteInfo) Update

func (p *WriteInfo) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (*WriteInfo) UpdateFrom

func (p *WriteInfo) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL