webhook/vendor/github.com
Ian Roberts 596cc5e70c feat: add ability to listen on unix socket/named pipe
Add a -socket option that configures the server to listen on a Unix-domain socket or Windows named pipe instead of a TCP port.  This allows webhook to be used behind a reverse proxy on multi-tenant shared hosting without the need to choose (and the permission to bind to) a free port number.

On Windows, -socket is expected to be a named pipe such as \\.\pipe\webhook, and the code uses https://github.com/microsoft/go-winio to bind the listening socket.  On other platforms, -socket is the path to a Unix domain socket such as /tmp/webhook.sock, or an abstract socket name starting with @, bound using the regular net.Listen function with the "network" parameter set to "unix".

Note: this pushes our minimum Go version up to 1.21 as that is what go-winio requires, but that is already the minimum version against which we are testing in the CI matrix.
2024-10-19 20:30:16 +01:00
..
clbanning/mxj/v2 Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
dustin/go-humanize Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
fsnotify/fsnotify Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
ghodss/yaml Vendor code using godep. 2017-10-09 20:05:32 +02:00
go-chi/chi/v5 Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
gofrs/uuid/v5 Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
gorilla/mux Update GH actions and dependencies (#681) 2024-04-13 12:27:49 +02:00
Microsoft/go-winio feat: add ability to listen on unix socket/named pipe 2024-10-19 20:30:16 +01:00