mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 09:27:08 +00:00
fix sockets example
This commit is contained in:
parent
d58c68fe72
commit
115680fa0a
@ -4,7 +4,7 @@ dev:
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
go run ../../cmd/workers-assets-gen --mode go
|
||||
go run ../../cmd/workers-assets-gen -mode=go
|
||||
GOOS=js GOARCH=wasm go build -o ./build/app.wasm .
|
||||
|
||||
.PHONY: deploy
|
||||
|
@ -1,6 +1,6 @@
|
||||
# sockets
|
||||
|
||||
- makes a TCP connection to tcpbin.com:4242.
|
||||
- makes a TCP connection to tcpbin.com:4242 and sends message.
|
||||
|
||||
## Development
|
||||
|
||||
@ -14,7 +14,7 @@ This project requires these tools to be installed globally.
|
||||
### Commands
|
||||
|
||||
```
|
||||
make dev # run dev server
|
||||
make build # build Go Wasm binary
|
||||
make dev # run dev server
|
||||
make build # build Go Wasm binary
|
||||
make deploy # deploy worker
|
||||
```
|
||||
|
@ -1,4 +1,4 @@
|
||||
module github.com/syumai/workers/_examples/fetch
|
||||
module github.com/syumai/workers/_examples/sockets
|
||||
|
||||
go 1.21.3
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
github.com/syumai/workers v0.1.0 h1:z5QfQR2X+PCKzom7RodpI5J4D5YF7NT7Qwzb9AM9dgY=
|
||||
github.com/syumai/workers v0.1.0/go.mod h1:alXIDhTyeTwSzh0ZgQ3cb9HQPyyYfIejupE4Z3efr14=
|
Loading…
x
Reference in New Issue
Block a user