added simple websocket connection.

This commit is contained in:
5elenay
2021-08-20 18:47:28 +03:00
parent 8b2d3d4c9a
commit 267e3baa93
4 changed files with 43 additions and 0 deletions

9
types.go Normal file
View File

@@ -0,0 +1,9 @@
package revoltgo
import "github.com/sacOO7/gowebsocket"
// Client struct
type Client struct {
Token string
Socket gowebsocket.Socket
}