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

@ -93,7 +93,7 @@ func initClickhouse() {
func socketHandler() {
var(
var (
err error
conn net.Conn
)

View file

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