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