mirror of
https://github.com/statbate/supreme-disco.git
synced 2026-08-11 03:22:41 +00:00
update
This commit is contained in:
parent
2ab97d2d10
commit
4a56900df4
2 changed files with 44 additions and 44 deletions
|
|
@ -2,11 +2,11 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
"io"
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
"io"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
||||
func removeSocket(s string) {
|
||||
|
|
@ -45,6 +45,6 @@ func socketHandler(conn net.Conn) {
|
|||
fmt.Println("json error:", err.Error())
|
||||
continue
|
||||
}
|
||||
ws.Send <- wsMessage{Message: raw, Decode: true}
|
||||
ws.Send <- raw
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue