Add wasm client

This commit is contained in:
Viktor Liu
2025-08-29 11:11:18 +02:00
parent dbefa8bd9f
commit 6d99d451d6
55 changed files with 2525 additions and 87 deletions
+2
View File
@@ -1,3 +1,5 @@
//go:build !js
package netstack
import (
+12
View File
@@ -0,0 +1,12 @@
package netstack
const EnvUseNetstackMode = "NB_USE_NETSTACK_MODE"
// IsEnabled always returns true for js since it's the only mode available
func IsEnabled() bool {
return true
}
func ListenAddr() string {
return ""
}