mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-17 16:36:02 +00:00
app: switch from gorilla to chi mux
Replace gorilla/mux with go-chi/chi as the HTTP router and add a custom zerolog-based request logger to replace chi's default stdlib-based middleware.Logger, consistent with the rest of the application. Updates #1850
This commit is contained in:
parent
25ccb5a161
commit
30338441c1
5 changed files with 179 additions and 55 deletions
|
|
@ -27,7 +27,7 @@
|
|||
let
|
||||
pkgs = nixpkgs.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
buildGo = pkgs.buildGo126Module;
|
||||
vendorHash = "sha256-9BvphYDAxzwooyVokI3l+q1wRuRsWn/qM+NpWUgqJH0=";
|
||||
vendorHash = "sha256-oUN53ELb3+xn4yA7lEfXyT2c7NxbQC6RtbkGVq6+RLU=";
|
||||
in
|
||||
{
|
||||
headscale = buildGo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue