Update README_GO.md
All checks were successful
Build Go Binary / build (push) Successful in 30s

This commit is contained in:
holzi1005 2025-08-06 17:35:22 +02:00
parent 923261a527
commit c42d85a1d5

View file

@ -12,6 +12,8 @@ export HAPROXY_TEMPLATE="./haproxy.tmpl"
# HaProxy Template
```
{{- range .backends }}
backend {{ .Name }}
mode {{ .Mode }}
balance {{ .Balance }}
@ -29,7 +31,7 @@ backend {{ .Name }}
server {{ .Name }} {{ .Address }}:{{ .Port }}{{ if $backend.HealthCheck }} check{{ end }}{{ if $backend.CookieName }} cookie {{ .Cookie }}{{ end }}{{ if $backend.ServerOptions }} {{ $backend.ServerOptions }}{{ end }}
{{- end }}
{{- end }}
```