make fmt
Format / gofmt (push) Successful in 7s
CI / Build (push) Successful in 14s
CI / Go Tests (push) Successful in 28s

This commit is contained in:
2026-06-08 00:39:41 -05:00
parent abb0256f0b
commit 466d69c44c
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ func NewEngine(st store.Store) *Engine {
return &Engine{
hosts: make(map[string]*Host),
st: st,
streamHandles: make(map[int]*streamHandle),
streamRuntime: make(map[int]*streamRuntime),
streamHandles: make(map[int]*streamHandle),
streamRuntime: make(map[int]*streamRuntime),
hostCerts: make(map[string]*tls.Certificate),
certByID: make(map[int]*tls.Certificate),
redirHosts: make(map[string]store.RedirectionHost),
+4 -4
View File
@@ -9,10 +9,10 @@ import (
)
var (
ErrDuplicateProxySource = errors.New("duplicate proxy host source domain")
ErrDuplicateRedirectionSource = errors.New("duplicate redirection host source domain")
ErrDuplicateDeadSource = errors.New("duplicate dead host source domain")
ErrDuplicateStreamPort = errors.New("duplicate stream incoming port")
ErrDuplicateProxySource = errors.New("duplicate proxy host source domain")
ErrDuplicateRedirectionSource = errors.New("duplicate redirection host source domain")
ErrDuplicateDeadSource = errors.New("duplicate dead host source domain")
ErrDuplicateStreamPort = errors.New("duplicate stream incoming port")
)
func IsConflictError(err error) bool {