github.com/Mort4lis/websocket (go): Package websocket implements the WebSocket protocol defined in RFC 6455.  The Conn type represents the WebSocket connection. if you are developing a server application you should use Upgrade function in your http handler to switching protocol to WebSocket.  Otherwise, if you are interesting to use websocket package as a client you should invoke Dialer.Dial at first (or Dialer.DialContext). For example:  Having Conn instance you can send and receive message due WebSocket protocol, calling Conn.WriteMessage and Conn.ReadMessage.  Also you can use Conn.NextWriter and Conn.NextReader for fragmented sending and receiving.
Keywords: github-actions|go|golang|websocket|ws