webauthenticationproxy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 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 Attach

func Attach() (ret js.Promise[js.String])

Attach calls the function "WEBEXT.webAuthenticationProxy.attach" directly.

func CompleteCreateRequest

func CompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void])

CompleteCreateRequest calls the function "WEBEXT.webAuthenticationProxy.completeCreateRequest" directly.

func CompleteGetRequest

func CompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void])

CompleteGetRequest calls the function "WEBEXT.webAuthenticationProxy.completeGetRequest" directly.

func CompleteIsUvpaaRequest

func CompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void])

CompleteIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest" directly.

func Detach

func Detach() (ret js.Promise[js.String])

Detach calls the function "WEBEXT.webAuthenticationProxy.detach" directly.

func FuncAttach

func FuncAttach() (fn js.Func[func() js.Promise[js.String]])

FuncAttach returns the function "WEBEXT.webAuthenticationProxy.attach".

func FuncCompleteCreateRequest

func FuncCompleteCreateRequest() (fn js.Func[func(details CreateResponseDetails) js.Promise[js.Void]])

FuncCompleteCreateRequest returns the function "WEBEXT.webAuthenticationProxy.completeCreateRequest".

func FuncCompleteGetRequest

func FuncCompleteGetRequest() (fn js.Func[func(details GetResponseDetails) js.Promise[js.Void]])

FuncCompleteGetRequest returns the function "WEBEXT.webAuthenticationProxy.completeGetRequest".

func FuncCompleteIsUvpaaRequest

func FuncCompleteIsUvpaaRequest() (fn js.Func[func(details IsUvpaaResponseDetails) js.Promise[js.Void]])

FuncCompleteIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest".

func FuncDetach

func FuncDetach() (fn js.Func[func() js.Promise[js.String]])

FuncDetach returns the function "WEBEXT.webAuthenticationProxy.detach".

func FuncHasOnCreateRequest

func FuncHasOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)]) bool])

FuncHasOnCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener".

func FuncHasOnGetRequest

func FuncHasOnGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)]) bool])

FuncHasOnGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener".

func FuncHasOnIsUvpaaRequest

func FuncHasOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)]) bool])

FuncHasOnIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener".

func FuncHasOnRemoteSessionStateChange

func FuncHasOnRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()]) bool])

FuncHasOnRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener".

func FuncHasOnRequestCanceled

func FuncHasOnRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)]) bool])

FuncHasOnRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener".

func FuncOffCreateRequest

func FuncOffCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])

FuncOffCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener".

func FuncOffGetRequest

func FuncOffGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])

FuncOffGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener".

func FuncOffIsUvpaaRequest

func FuncOffIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])

FuncOffIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener".

func FuncOffRemoteSessionStateChange

func FuncOffRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()])])

FuncOffRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener".

func FuncOffRequestCanceled

func FuncOffRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)])])

FuncOffRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener".

func FuncOnCreateRequest

func FuncOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])

FuncOnCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener".

func FuncOnGetRequest

func FuncOnGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])

FuncOnGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener".

func FuncOnIsUvpaaRequest

func FuncOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])

FuncOnIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener".

func FuncOnRemoteSessionStateChange

func FuncOnRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()])])

FuncOnRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener".

func FuncOnRequestCanceled

func FuncOnRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)])])

FuncOnRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener".

func HasFuncAttach

func HasFuncAttach() bool

HasFuncAttach returns true if the function "WEBEXT.webAuthenticationProxy.attach" exists.

func HasFuncCompleteCreateRequest

func HasFuncCompleteCreateRequest() bool

HasFuncCompleteCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeCreateRequest" exists.

func HasFuncCompleteGetRequest

func HasFuncCompleteGetRequest() bool

HasFuncCompleteGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeGetRequest" exists.

func HasFuncCompleteIsUvpaaRequest

func HasFuncCompleteIsUvpaaRequest() bool

HasFuncCompleteIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest" exists.

func HasFuncDetach

func HasFuncDetach() bool

HasFuncDetach returns true if the function "WEBEXT.webAuthenticationProxy.detach" exists.

func HasFuncHasOnCreateRequest

func HasFuncHasOnCreateRequest() bool

HasFuncHasOnCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" exists.

func HasFuncHasOnGetRequest

func HasFuncHasOnGetRequest() bool

HasFuncHasOnGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" exists.

func HasFuncHasOnIsUvpaaRequest

func HasFuncHasOnIsUvpaaRequest() bool

HasFuncHasOnIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" exists.

func HasFuncHasOnRemoteSessionStateChange

func HasFuncHasOnRemoteSessionStateChange() bool

HasFuncHasOnRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" exists.

func HasFuncHasOnRequestCanceled

func HasFuncHasOnRequestCanceled() bool

HasFuncHasOnRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" exists.

func HasFuncOffCreateRequest

func HasFuncOffCreateRequest() bool

HasFuncOffCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" exists.

func HasFuncOffGetRequest

func HasFuncOffGetRequest() bool

HasFuncOffGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" exists.

func HasFuncOffIsUvpaaRequest

func HasFuncOffIsUvpaaRequest() bool

HasFuncOffIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" exists.

func HasFuncOffRemoteSessionStateChange

func HasFuncOffRemoteSessionStateChange() bool

HasFuncOffRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" exists.

func HasFuncOffRequestCanceled

func HasFuncOffRequestCanceled() bool

HasFuncOffRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" exists.

func HasFuncOnCreateRequest

func HasFuncOnCreateRequest() bool

HasFuncOnCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" exists.

func HasFuncOnGetRequest

func HasFuncOnGetRequest() bool

HasFuncOnGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" exists.

func HasFuncOnIsUvpaaRequest

func HasFuncOnIsUvpaaRequest() bool

HasFuncOnIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" exists.

func HasFuncOnRemoteSessionStateChange

func HasFuncOnRemoteSessionStateChange() bool

HasFuncOnRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" exists.

func HasFuncOnRequestCanceled

func HasFuncOnRequestCanceled() bool

HasFuncOnRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" exists.

func HasOnCreateRequest

func HasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool)

HasOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" directly.

func HasOnGetRequest

func HasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool)

HasOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" directly.

func HasOnIsUvpaaRequest

func HasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool)

HasOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" directly.

func HasOnRemoteSessionStateChange

func HasOnRemoteSessionStateChange(callback js.Func[func()]) (ret bool)

HasOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" directly.

func HasOnRequestCanceled

func HasOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret bool)

HasOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" directly.

func OffCreateRequest

func OffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)

OffCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" directly.

func OffGetRequest

func OffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)

OffGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" directly.

func OffIsUvpaaRequest

func OffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)

OffIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" directly.

func OffRemoteSessionStateChange

func OffRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void)

OffRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" directly.

func OffRequestCanceled

func OffRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void)

OffRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" directly.

func OnCreateRequest

func OnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)

OnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" directly.

func OnGetRequest

func OnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)

OnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" directly.

func OnIsUvpaaRequest

func OnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)

OnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" directly.

func OnRemoteSessionStateChange

func OnRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void)

OnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" directly.

func OnRequestCanceled

func OnRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void)

OnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" directly.

func TryAttach

func TryAttach() (ret js.Promise[js.String], exception js.Any, ok bool)

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

func TryCompleteCreateRequest

func TryCompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryCompleteGetRequest

func TryCompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryCompleteIsUvpaaRequest

func TryCompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryDetach

func TryDetach() (ret js.Promise[js.String], exception js.Any, ok bool)

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

func TryHasOnCreateRequest

func TryHasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool, exception js.Any, ok bool)

TryHasOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryHasOnGetRequest

func TryHasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool, exception js.Any, ok bool)

TryHasOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryHasOnIsUvpaaRequest

func TryHasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool, exception js.Any, ok bool)

TryHasOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryHasOnRemoteSessionStateChange

func TryHasOnRemoteSessionStateChange(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)

TryHasOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryHasOnRequestCanceled

func TryHasOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret bool, exception js.Any, ok bool)

TryHasOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOffCreateRequest

func TryOffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOffCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOffGetRequest

func TryOffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOffGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOffIsUvpaaRequest

func TryOffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOffIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOffRemoteSessionStateChange

func TryOffRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

TryOffRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOffRequestCanceled

func TryOffRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)

TryOffRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOnCreateRequest

func TryOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOnGetRequest

func TryOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOnIsUvpaaRequest

func TryOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)

TryOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOnRemoteSessionStateChange

func TryOnRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

TryOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

func TryOnRequestCanceled

func TryOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)

TryOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

Types

type CreateRequest

type CreateRequest struct {
	// RequestId is "CreateRequest.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32
	// RequestDetailsJson is "CreateRequest.requestDetailsJson"
	//
	// Optional
	RequestDetailsJson js.String

	FFI_USE_RequestId bool // for RequestId.

	FFI_USE bool
}

func (*CreateRequest) FreeMembers

func (p *CreateRequest) FreeMembers(recursive bool)

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

func (CreateRequest) FromRef

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

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

func (CreateRequest) New

func (p CreateRequest) New() js.Ref

New creates a new CreateRequest in the application heap.

func (*CreateRequest) Update

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

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

func (*CreateRequest) UpdateFrom

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

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

type CreateResponseDetails

type CreateResponseDetails struct {
	// RequestId is "CreateResponseDetails.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32
	// Error is "CreateResponseDetails.error"
	//
	// Optional
	//
	// NOTE: Error.FFI_USE MUST be set to true to get Error used.
	Error DOMExceptionDetails
	// ResponseJson is "CreateResponseDetails.responseJson"
	//
	// Optional
	ResponseJson js.String

	FFI_USE_RequestId bool // for RequestId.

	FFI_USE bool
}

func (*CreateResponseDetails) FreeMembers

func (p *CreateResponseDetails) FreeMembers(recursive bool)

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

func (CreateResponseDetails) FromRef

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

func (CreateResponseDetails) New

func (p CreateResponseDetails) New() js.Ref

New creates a new CreateResponseDetails in the application heap.

func (*CreateResponseDetails) Update

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

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

func (*CreateResponseDetails) UpdateFrom

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

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

type DOMExceptionDetails

type DOMExceptionDetails struct {
	// Name is "DOMExceptionDetails.name"
	//
	// Optional
	Name js.String
	// Message is "DOMExceptionDetails.message"
	//
	// Optional
	Message js.String

	FFI_USE bool
}

func (*DOMExceptionDetails) FreeMembers

func (p *DOMExceptionDetails) FreeMembers(recursive bool)

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

func (DOMExceptionDetails) FromRef

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

func (DOMExceptionDetails) New

func (p DOMExceptionDetails) New() js.Ref

New creates a new DOMExceptionDetails in the application heap.

func (*DOMExceptionDetails) Update

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

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

func (*DOMExceptionDetails) UpdateFrom

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

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

type ErrorCallback

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

func (*ErrorCallback[T]) DispatchCallback

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

func (*ErrorCallback[T]) Register

func (cb *ErrorCallback[T]) Register() js.Func[func(err js.String)]

type ErrorCallbackFunc

type ErrorCallbackFunc func(this js.Ref, err js.String) js.Ref

func (ErrorCallbackFunc) DispatchCallback

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

func (ErrorCallbackFunc) Register

func (fn ErrorCallbackFunc) Register() js.Func[func(err js.String)]

type GetRequest

type GetRequest struct {
	// RequestId is "GetRequest.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32
	// RequestDetailsJson is "GetRequest.requestDetailsJson"
	//
	// Optional
	RequestDetailsJson js.String

	FFI_USE_RequestId bool // for RequestId.

	FFI_USE bool
}

func (*GetRequest) FreeMembers

func (p *GetRequest) FreeMembers(recursive bool)

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

func (GetRequest) FromRef

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

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

func (GetRequest) New

func (p GetRequest) New() js.Ref

New creates a new GetRequest in the application heap.

func (*GetRequest) Update

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

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

func (*GetRequest) UpdateFrom

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

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

type GetResponseDetails

type GetResponseDetails struct {
	// RequestId is "GetResponseDetails.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32
	// Error is "GetResponseDetails.error"
	//
	// Optional
	//
	// NOTE: Error.FFI_USE MUST be set to true to get Error used.
	Error DOMExceptionDetails
	// ResponseJson is "GetResponseDetails.responseJson"
	//
	// Optional
	ResponseJson js.String

	FFI_USE_RequestId bool // for RequestId.

	FFI_USE bool
}

func (*GetResponseDetails) FreeMembers

func (p *GetResponseDetails) FreeMembers(recursive bool)

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

func (GetResponseDetails) FromRef

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

func (GetResponseDetails) New

func (p GetResponseDetails) New() js.Ref

New creates a new GetResponseDetails in the application heap.

func (*GetResponseDetails) Update

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

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

func (*GetResponseDetails) UpdateFrom

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

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

type IsUvpaaRequest

type IsUvpaaRequest struct {
	// RequestId is "IsUvpaaRequest.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32

	FFI_USE_RequestId bool // for RequestId.

	FFI_USE bool
}

func (*IsUvpaaRequest) FreeMembers

func (p *IsUvpaaRequest) FreeMembers(recursive bool)

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

func (IsUvpaaRequest) FromRef

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

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

func (IsUvpaaRequest) New

func (p IsUvpaaRequest) New() js.Ref

New creates a new IsUvpaaRequest in the application heap.

func (*IsUvpaaRequest) Update

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

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

func (*IsUvpaaRequest) UpdateFrom

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

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

type IsUvpaaResponseDetails

type IsUvpaaResponseDetails struct {
	// RequestId is "IsUvpaaResponseDetails.requestId"
	//
	// Optional
	//
	// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
	RequestId int32
	// IsUvpaa is "IsUvpaaResponseDetails.isUvpaa"
	//
	// Optional
	//
	// NOTE: FFI_USE_IsUvpaa MUST be set to true to make this field effective.
	IsUvpaa bool

	FFI_USE_RequestId bool // for RequestId.
	FFI_USE_IsUvpaa   bool // for IsUvpaa.

	FFI_USE bool
}

func (*IsUvpaaResponseDetails) FreeMembers

func (p *IsUvpaaResponseDetails) FreeMembers(recursive bool)

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

func (IsUvpaaResponseDetails) FromRef

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

func (IsUvpaaResponseDetails) New

func (p IsUvpaaResponseDetails) New() js.Ref

New creates a new IsUvpaaResponseDetails in the application heap.

func (*IsUvpaaResponseDetails) Update

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

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

func (*IsUvpaaResponseDetails) UpdateFrom

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

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

type OnCreateRequestEventCallback

type OnCreateRequestEventCallback[T any] struct {
	Fn  func(arg T, this js.Ref, requestInfo *CreateRequest) js.Ref
	Arg T
}

func (*OnCreateRequestEventCallback[T]) DispatchCallback

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

func (*OnCreateRequestEventCallback[T]) Register

func (cb *OnCreateRequestEventCallback[T]) Register() js.Func[func(requestInfo *CreateRequest)]

type OnCreateRequestEventCallbackFunc

type OnCreateRequestEventCallbackFunc func(this js.Ref, requestInfo *CreateRequest) js.Ref

func (OnCreateRequestEventCallbackFunc) DispatchCallback

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

func (OnCreateRequestEventCallbackFunc) Register

func (fn OnCreateRequestEventCallbackFunc) Register() js.Func[func(requestInfo *CreateRequest)]

type OnGetRequestEventCallback

type OnGetRequestEventCallback[T any] struct {
	Fn  func(arg T, this js.Ref, requestInfo *GetRequest) js.Ref
	Arg T
}

func (*OnGetRequestEventCallback[T]) DispatchCallback

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

func (*OnGetRequestEventCallback[T]) Register

func (cb *OnGetRequestEventCallback[T]) Register() js.Func[func(requestInfo *GetRequest)]

type OnGetRequestEventCallbackFunc

type OnGetRequestEventCallbackFunc func(this js.Ref, requestInfo *GetRequest) js.Ref

func (OnGetRequestEventCallbackFunc) DispatchCallback

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

func (OnGetRequestEventCallbackFunc) Register

func (fn OnGetRequestEventCallbackFunc) Register() js.Func[func(requestInfo *GetRequest)]

type OnIsUvpaaRequestEventCallback

type OnIsUvpaaRequestEventCallback[T any] struct {
	Fn  func(arg T, this js.Ref, requestInfo *IsUvpaaRequest) js.Ref
	Arg T
}

func (*OnIsUvpaaRequestEventCallback[T]) DispatchCallback

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

func (*OnIsUvpaaRequestEventCallback[T]) Register

func (cb *OnIsUvpaaRequestEventCallback[T]) Register() js.Func[func(requestInfo *IsUvpaaRequest)]

type OnIsUvpaaRequestEventCallbackFunc

type OnIsUvpaaRequestEventCallbackFunc func(this js.Ref, requestInfo *IsUvpaaRequest) js.Ref

func (OnIsUvpaaRequestEventCallbackFunc) DispatchCallback

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

func (OnIsUvpaaRequestEventCallbackFunc) Register

func (fn OnIsUvpaaRequestEventCallbackFunc) Register() js.Func[func(requestInfo *IsUvpaaRequest)]

type OnRemoteSessionStateChangeEventCallback

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

func (*OnRemoteSessionStateChangeEventCallback[T]) DispatchCallback

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

func (*OnRemoteSessionStateChangeEventCallback[T]) Register

func (cb *OnRemoteSessionStateChangeEventCallback[T]) Register() js.Func[func()]

type OnRemoteSessionStateChangeEventCallbackFunc

type OnRemoteSessionStateChangeEventCallbackFunc func(this js.Ref) js.Ref

func (OnRemoteSessionStateChangeEventCallbackFunc) DispatchCallback

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

func (OnRemoteSessionStateChangeEventCallbackFunc) Register

func (fn OnRemoteSessionStateChangeEventCallbackFunc) Register() js.Func[func()]

type OnRequestCanceledEventCallback

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

func (*OnRequestCanceledEventCallback[T]) DispatchCallback

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

func (*OnRequestCanceledEventCallback[T]) Register

func (cb *OnRequestCanceledEventCallback[T]) Register() js.Func[func(requestId int32)]

type OnRequestCanceledEventCallbackFunc

type OnRequestCanceledEventCallbackFunc func(this js.Ref, requestId int32) js.Ref

func (OnRequestCanceledEventCallbackFunc) DispatchCallback

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

func (OnRequestCanceledEventCallbackFunc) Register

func (fn OnRequestCanceledEventCallbackFunc) Register() js.Func[func(requestId int32)]

type VoidCallback

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

func (*VoidCallback[T]) DispatchCallback

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

func (*VoidCallback[T]) Register

func (cb *VoidCallback[T]) Register() js.Func[func()]

type VoidCallbackFunc

type VoidCallbackFunc func(this js.Ref) js.Ref

func (VoidCallbackFunc) DispatchCallback

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

func (VoidCallbackFunc) Register

func (fn VoidCallbackFunc) Register() js.Func[func()]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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