1
0
mirror of https://github.com/taigrr/wasm-experiments synced 2025-01-18 04:03:21 -08:00

Add jsgo.io example

This commit is contained in:
Johan Brandhorst
2018-08-15 17:00:38 +01:00
parent 50d7c00276
commit 31e31e865c
823 changed files with 404944 additions and 1 deletions

7
vendor/github.com/dave/wasmgo/config/config.dev.go generated vendored Normal file
View File

@@ -0,0 +1,7 @@
// +build dev
package config
const (
DEV = true
)

7
vendor/github.com/dave/wasmgo/config/config.prod.go generated vendored Normal file
View File

@@ -0,0 +1,7 @@
// +build !dev
package config
const (
DEV = false
)

7
vendor/github.com/dave/wasmgo/config/constants.go generated vendored Normal file
View File

@@ -0,0 +1,7 @@
package config
const (
Wasm = "wasm"
Index = "index"
Pkg = "pkg"
)

19
vendor/github.com/dave/wasmgo/config/hosts.dev.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
// +build dev,!local
package config
const (
LOCAL = false
)
var Host = map[string]string{
Wasm: "localhost:8083",
Pkg: "dev-pkg.jsgo.io",
Index: "dev-index.jsgo.io",
}
var Protocol = map[string]string{
Wasm: "http",
Pkg: "https",
Index: "https",
}

19
vendor/github.com/dave/wasmgo/config/hosts.local.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
// +build local
package config
const (
LOCAL = true
)
var Host = map[string]string{
Wasm: "localhost:8083",
Pkg: "localhost:8092",
Index: "localhost:8093",
}
var Protocol = map[string]string{
Wasm: "http",
Pkg: "http",
Index: "http",
}

19
vendor/github.com/dave/wasmgo/config/hosts.prod.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
// +build !dev,!local
package config
const (
LOCAL = false
)
var Host = map[string]string{
Wasm: "wasm.jsgo.io",
Pkg: "pkg.jsgo.io",
Index: "jsgo.io",
}
var Protocol = map[string]string{
Wasm: "https",
Pkg: "https",
Index: "https",
}