teowebrtc_wasm

command
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: 0

Documentation

Overview

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" .

# install goexec: go get -u github.com/shurcooL/goexec goexec 'http.ListenAndServe(`:8088`, http.FileServer(http.Dir(`.`)))'

Jump to

Keyboard shortcuts

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