From 308796846365b93a58e32bc618a2d18c7c41faa4 Mon Sep 17 00:00:00 2001 From: blake Date: Mon, 14 Sep 2026 13:38:52 +0000 Subject: [PATCH] format: gofmt api.go and engine.go --- cmd/helix-proxy/api.go | 3 +-- internal/proxy/engine.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/helix-proxy/api.go b/cmd/helix-proxy/api.go index 85887c2..9ab4d7b 100644 --- a/cmd/helix-proxy/api.go +++ b/cmd/helix-proxy/api.go @@ -1,11 +1,11 @@ package main import ( - "strings" "encoding/json" "log/slog" "net/http" "strconv" + "strings" "helix-proxy/internal/auth" "helix-proxy/internal/certificate" @@ -1303,7 +1303,6 @@ func mountAPI(r chi.Router, st store.Store, eng *proxy.Engine, cm *certificate.M }) } - func hashAccessListPasswords(al *store.AccessList) error { for i := range al.Items { pw := al.Items[i].Password diff --git a/internal/proxy/engine.go b/internal/proxy/engine.go index d86cd46..b63d845 100644 --- a/internal/proxy/engine.go +++ b/internal/proxy/engine.go @@ -1,11 +1,11 @@ package proxy import ( - "golang.org/x/crypto/bcrypt" "context" "crypto/tls" "encoding/base64" "fmt" + "golang.org/x/crypto/bcrypt" "io" "log/slog" "net" @@ -1252,7 +1252,6 @@ func parseAdvancedConfig(adv string) (reqSets map[string]string, respAdds map[st return } - func accessListPasswordOK(stored, provided string) bool { if stored == "" { return false