blasphem/pkg/server/websocket.go
2022-09-25 11:42:36 -04:00

17 lines
303 B
Go

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