-
| Instead of running echo on a specified port, I want to run it on a unix socket instead. How do I go about that?
net.Listen("unix", "/tmp/echo.sock")Any ideas how to get this using echo? |
Beta Was this translation helpful? Give feedback.
Answered by aldas Jan 6, 2021
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by iambenkay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
echo.StartServer(s *http.Server)uses your providedhttp.Serverinstance to serve echo and that server can listen socket (unix) that you provided as Listerner