added http handler.

This commit is contained in:
5elenay
2021-08-20 21:12:41 +03:00
parent a3cf0d8e4e
commit 14ee6319cc
4 changed files with 63 additions and 11 deletions

View File

@@ -7,8 +7,6 @@ import (
"github.com/sacOO7/gowebsocket"
)
const WS_URL = "wss://ws.revolt.chat"
func (c *Client) Start() {
// Create new socket
c.Socket = gowebsocket.New(WS_URL)