WebSocket を Golang でどうやったらいいか試してみた / WebSocket Test with Golang and Javascript

Chat サーバーを作ってみた…こぴぺしてみた

main.go:

websocket.js:

index.html:

See

  • https://qiita.com/m0a/items/f6405bc29073a7609050
  • https://stackoverflow.com/questions/30686655/go-program-throwing-error-cannot-find-package-code-google-com-p-go-net-websocke
  • https://qiita.com/nekozuki_twt/items/82974d54db71ee12a5e7
  • https://ashitani.jp/golangtips/tips_time.html

 

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です