-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I want to get the exact error code or error message from underlying guacd code. How do I get it ?
This is my code right now.
mux := http.NewServeMux()
// prepare Websocket server
wsSraServer := guac.NewWebsocketServer(cfg.wsDoConnect)
mux.Handle("/test/ext/websocket-tunnel", wsSraServer)
if cfg.httpTunnel == "enable" {
// prepare HTTP server
httpSraServlet := guac.NewServer(cfg.httpDoConnect)
mux.Handle("/tunnel", httpSraServlet)
mux.Handle("/test/ext/tunnel", httpSraServlet)
}
//wsSraServer.OnConnectWs = cfg.OnConnectWs
// wsSraServer.OnDisconnectWs = cfg.OnDisconnectWs
Metadata
Metadata
Assignees
Labels
No labels