gotunnelserver/server/handleClient.go

12 lines
205 B
Go

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"))
}