tvl-depot/tvix/nar-bridge/pkg/http
Florian Klink c18ff1a270 refactor(tvix/nar-bridge): deduplicate NAR HEAD and GET
Use a genNarHandler() function accepting a boolean to construct the
HTTP handler.

Change-Id: I17c054826d91a9dbed8b1f53945a51f27fa60ace
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9537
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
2023-10-05 06:17:10 +00:00
..
nar_get.go refactor(tvix/nar-bridge): deduplicate NAR HEAD and GET 2023-10-05 06:17:10 +00:00
nar_put.go refactor(tvix/nar-bridge): move pkg/server to pkg/http 2023-10-05 06:17:10 +00:00
narinfo_get.go docs(tvix/nar-bridge): fix typo in comment 2023-10-05 06:17:10 +00:00
narinfo_put.go refactor(tvix/nar-bridge): move pkg/server to pkg/http 2023-10-05 06:17:10 +00:00
server.go refactor(tvix/nar-bridge): move pkg/server to pkg/http 2023-10-05 06:17:10 +00:00
util.go refactor(tvix/nar-bridge): move pkg/server to pkg/http 2023-10-05 06:17:10 +00:00