Closed
Description
Is there an existing feature request for this?
- I have searched the existing feature requests
Is your feature request related to a problem? Please describe.
Using UNIX Domain Sockets (UDS) allows more flexibility in avoiding multiple projects (on the same host) collisions.
See here: F1bonacc1/process-compose#172
Describe the solution that you would like.
I am planning to implement both port and UDS based communication.
A user flag will select this.
I would like to be able to do something along the following lines:
var ws *websocket.Conn
if UDS {
ws, _, err = websocket.DefaultDialer.DialUnix("ws://unix/hello", "/tmp/path.sock", nil)
}else{
ws, _, err = websocket.DefaultDialer.Dial("ws://localhost:8080/hello", nil)
}
ws.WriteMessage(...)
Describe alternatives you have considered.
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels