gobridge

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCallback

func RegisterCallback(name string, callback func(this js.Value, args []js.Value) (interface{}, error))

RegisterCallback registers a Go function to be a callback used in JavaScript

func RegisterValue

func RegisterValue(name string, value interface{})

RegisterValue registers a static value output from Go for access in JavaScript

Types

This section is empty.

Jump to

Keyboard shortcuts

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