tvl-depot/tvix/nar-bridge/pkg/http
Florian Klink 50c81d7838 feat(tvix/nar-bridge): support listening on unix sockets
This simply checks for the address to contain slashes, and if so, opens
a unix socket, rather than a tcp one. We'll use this in //tvix/boot
tests to simplify waiting for nar-bridge to be up.

Change-Id: I7184f548d57142b1c5f698a1f0c30343489373a5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11184
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-03-18 14:57:30 +00:00
..
nar_get.go chore(tvix/nar-bridge): update to latest go mod renames 2023-10-17 20:46:38 +00:00
nar_put.go chore(tvix/nar-bridge): update to latest go mod renames 2023-10-17 20:46:38 +00:00
narinfo.go chore(tvix/nar-bridge): update to latest go mod renames 2023-10-17 20:46:38 +00:00
narinfo_get.go chore(tvix/nar-bridge): update to latest go mod renames 2023-10-17 20:46:38 +00:00
narinfo_put.go refactor(tvix/nar-bridge): have Export return root node 2023-10-11 11:41:50 +00:00
server.go feat(tvix/nar-bridge): support listening on unix sockets 2024-03-18 14:57:30 +00:00
util.go refactor(tvix/nar-bridge): move pkg/server to pkg/http 2023-10-05 06:17:10 +00:00