teowebrtc_wasm

package module
v0.0.0-...-e45004b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetData

func SetData(data []byte)

SetData call vuejs setDatacallback to show data in page

func SetDataChannel

func SetDataChannel(d *teowebrtc_client.DataChannel)

func SetFuncs

func SetFuncs(subscr *teowebrtc_client.SubscrType)

SetFuncs create webasm js functions

Types

This section is empty.

Directories

Path Synopsis
cmd
teowebrtc_wasm
Example from: https://github.com/golang/go/wiki/WebAssembly#getting-started Build: GOOS=js GOARCH=wasm go build -o main.wasm cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
Example from: https://github.com/golang/go/wiki/WebAssembly#getting-started Build: GOOS=js GOARCH=wasm go build -o main.wasm cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .

Jump to

Keyboard shortcuts

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