This commit is contained in:
poiuty 2023-05-14 13:57:18 +03:00
parent 4b0b928cef
commit e42f70e789
3 changed files with 43 additions and 44 deletions

View file

@ -5,8 +5,8 @@ import (
"net/http" "net/http"
//"net/url" //"net/url"
//"strconv" //"strconv"
"time"
"net/url" "net/url"
"time"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
@ -60,7 +60,7 @@ func announceCount() {
Count int `json:"count"` Count int `json:"count"`
}{ }{
Chanel: "chaturbate", Chanel: "chaturbate",
Count: l Count: l,
}) })
if err == nil { if err == nil {
socketServer <- msg socketServer <- msg
@ -182,7 +182,6 @@ func xWorker(workerData Info, u url.URL) {
} }
} }
for { for {
select { select {