gotunnelserver/server/handlePipe.go

12 lines
203 B
Go

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