Documentation
¶
Overview ¶
Package netview pkg/tpviz/netview/netview.go c3-vis-api
Package netview embeds the WebGL graph view (cmd/netview) as a js/wasm module of its own, about 1 MB gzipped, so every build serves it. Rebuild it with `make netview-wasm`; `make check-netview-wasm` fails when it is stale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ETag = func() string { h := sha256.Sum256(WasmGz) return `"` + hex.EncodeToString(h[:8]) + `"` }()
ETag names this build of the module.
View Source
var ExecJS = wasmhv.WasmExecJS
ExecJS is the loader for WasmGz. The module is built with the toolchain that wasmhv.WasmExecJS comes from.
View Source
var WasmGz []byte
WasmGz is the module, gzipped.
Functions ¶
func ServeExecJS ¶
func ServeExecJS(w http.ResponseWriter, _ *http.Request)
ServeExecJS answers a GET for the loader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.