1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

add server side events via broker example (based on external resource but it is fairly good for a simple SSE showcase)

Former-commit-id: 926c2a88bf1c44354a99654bc85e267b940723b8
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-07-31 03:12:16 +03:00
parent badea8b9c5
commit 2b72aadb15
6 changed files with 185 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import (
/*
You need to build the hello.wasm first, download the go1.11 and execute the below command:
$ cd client && GOARCH=wasm GOOS=js /home/$yourname/go1.11beta1/bin/go build -o hello.wasm hello_go11beta1.go
$ cd client && GOARCH=wasm GOOS=js /home/$yourname/go1.11beta1/bin/go build -o hello.wasm hello_go11beta2.go
*/
func main() {