gotunnelserver/server/handleClient.go

12 lines
205 B
Go
Raw Normal View History

package server
import (
"net/http"
"github.com/gorilla/websocket"
)
func (s *Server) HandleClient(conn *websocket.Conn, r *http.Request) {
conn.WriteMessage(websocket.TextMessage, []byte("hello"))
}