blasphem/pkg/server/websocket.go
2022-09-26 15:00:21 -04:00

19 lines
337 B
Go

package server
import (
"log"
"net/http"
"github.com/gorilla/websocket"
)
var upgrader = websocket.Upgrader{
ReadBufferSize: 1024,
WriteBufferSize: 1024,
}
func (s *Server) wsHandler(w http.ResponseWriter, req *http.Request) {
log.Println("WebSocket")
//conn, err := upgrader.Upgrade(w, req, nil)
panic("not implemented")
}