feat: improve design trough the whole application

This commit is contained in:
Elias Schneider
2026-05-29 11:37:34 +02:00
parent 272d1479bd
commit b3d40a476b
115 changed files with 822 additions and 550 deletions
@@ -165,11 +165,12 @@ func initServer(r *gin.Engine) (*serverConfig, error) {
}
var socketFn func() (*socket, error)
if common.EnvConfig.SystemdSocket {
switch {
case common.EnvConfig.SystemdSocket:
socketFn = systemdSocket
} else if common.EnvConfig.UnixSocket != "" {
case common.EnvConfig.UnixSocket != "":
socketFn = unixSocket
} else {
default:
socketFn = tcpSocket
}