kataras / go-websocket

:speaker: Deprecated. Use https://github.com/kataras/neffos instead
MIT License
60 stars 16 forks source link

How to use this package to build a golang client? #19

Closed dxvgef closed 7 years ago

dxvgef commented 7 years ago

I used go-websocket to build a websocket server, but I used its Join() function, it is not compatible with other websocket clients, go-websocket can build the client? I only found its JS client, I want to use it to create a golang client

ghost commented 7 years ago

You can connect a client using its underline websocket package, currently the kataras/go-websocket supports only javascript client-side library.

ghost commented 7 years ago

@dxvgef Here you're

An example of this using the /x/net/websocket package as the client. See: https://github.com/kataras/go-websocket/issues/24#issuecomment-275708849