moved everything into pkg/
This commit is contained in:
11
pkg/app/relay/handleWebsocket.go
Normal file
11
pkg/app/relay/handleWebsocket.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package relay
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"orly.dev/pkg/protocol/socketapi"
|
||||
)
|
||||
|
||||
func (s *Server) handleWebsocket(w http.ResponseWriter, r *http.Request) {
|
||||
a := &socketapi.A{I: s}
|
||||
a.Serve(w, r, s)
|
||||
}
|
||||
Reference in New Issue
Block a user