wasmwebsocket

module
v0.0.0-...-e78ad7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0

README

wasmwebsocket

genprotocol 로 통합 되었습니다.

genprotocol/example/rundriver 를 보세요.

old readme

golang wasm websocket

goguelike2의 gopherjs webclient 를 go언에에서 (아직 EXPERIMENTAL 이라고 하지만) 정식으로 지원 하기 시작한 Webassembly 로 포팅하다가 나온 부산 물 입니다.

기본적으로 golang websocket server 서버가 정상 작동 하는 지는 테스트 하기 위한 golang websocket client 그리고 주 목적인 golang wasm web client 로 구성 되어 있습니다.

주의 할 점은 실행을 위해서 외부 패키지가 필요합니다.

golang websocket용 github.com/gorilla/websocket

log 생성 및 사용

https://github.com/kasworld/log 을 사용해서 log level 함수를 생성합니다.

go get github.com/kasworld/log

로 loggen을 설치하는 것이 필요합니다.

genprotocol 을 사용한 protocol 코드 생성

https://github.com/kasworld/genprotocol 을 사용해서 protocol의 기반 코드를 생성합니다.

go get github.com/kasworld/genprotocol

으로 genprotocol 을 설치 하는 것이 필요합니다.

Directories

Path Synopsis
protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL