summaryrefslogtreecommitdiffstats
path: root/model/websocket_client.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-03-29 16:04:54 +0200
committerHarrison Healey <harrisonmhealey@gmail.com>2018-03-29 10:04:54 -0400
commit014a3b6a60610ba592c5843080686f4481553136 (patch)
tree883ac2be9c96de5a8c4f34b2881da84c1fd65e21 /model/websocket_client.go
parenteb48292a3a69ac5ffac91cdb0c5e5349ae8f85eb (diff)
downloadchat-014a3b6a60610ba592c5843080686f4481553136.tar.gz
chat-014a3b6a60610ba592c5843080686f4481553136.tar.bz2
chat-014a3b6a60610ba592c5843080686f4481553136.zip
Fixing misspell errors (#8544)
Diffstat (limited to 'model/websocket_client.go')
-rw-r--r--model/websocket_client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/websocket_client.go b/model/websocket_client.go
index e5c44dde8..cdec75aba 100644
--- a/model/websocket_client.go
+++ b/model/websocket_client.go
@@ -26,7 +26,7 @@ type WebSocketClient struct {
ListenError *AppError
}
-// NewWebSocketClient constructs a new WebSocket client with convienence
+// NewWebSocketClient constructs a new WebSocket client with convenience
// methods for talking to the server.
func NewWebSocketClient(url, authToken string) (*WebSocketClient, *AppError) {
conn, _, err := websocket.DefaultDialer.Dial(url+API_URL_SUFFIX_V3+"/users/websocket", nil)
@@ -51,7 +51,7 @@ func NewWebSocketClient(url, authToken string) (*WebSocketClient, *AppError) {
return client, nil
}
-// NewWebSocketClient4 constructs a new WebSocket client with convienence
+// NewWebSocketClient4 constructs a new WebSocket client with convenience
// methods for talking to the server. Uses the v4 endpoint.
func NewWebSocketClient4(url, authToken string) (*WebSocketClient, *AppError) {
conn, _, err := websocket.DefaultDialer.Dial(url+API_URL_SUFFIX+"/websocket", nil)