Hi,
This is a feature request to make the network="tcp" parameter used here configurable. In our case we would like to use unix as the value here.
Some Background:
I'm using endless in a couple of services and liking it very much 😄
But we are now working on a lite, offline version of our service stack, in which clients connect to a service on the same machine. Here we don't actually need TCP sockets for communication, but can instead use unix sockets directly. Unfortunately I couldn't figure out a way to do this while still using endless.
The Go stdlib supports this out of the box, the only change required was:
listener, err := net.Listen("tcp", "localhost:8080")
to
listener, err := net.Listen("unix", "some-unix-socket.sock")
However, with endless, that part seems to be not configurable.
There seems to be same additional logic for listening on a file already, but only if the ENDLESS_CONTINUE environment variable is set, which then sets isChild to true. I didn't want to mess around in that direction to much.
Is there any chance something like this could be added to endless?
Hi,
This is a feature request to make the
network="tcp"parameter used here configurable. In our case we would like to useunixas the value here.Some Background:
I'm using endless in a couple of services and liking it very much 😄
But we are now working on a lite, offline version of our service stack, in which clients connect to a service on the same machine. Here we don't actually need TCP sockets for communication, but can instead use
unixsockets directly. Unfortunately I couldn't figure out a way to do this while still using endless.The Go stdlib supports this out of the box, the only change required was:
to
However, with endless, that part seems to be not configurable.
There seems to be same additional logic for listening on a file already, but only if the
ENDLESS_CONTINUEenvironment variable is set, which then setsisChildto true. I didn't want to mess around in that direction to much.Is there any chance something like this could be added to endless?