feat: add routes loadblancing

This commit is contained in:
2024-11-09 10:59:17 +01:00
parent 1279f82bf9
commit 0f39ead97c
6 changed files with 35 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ import (
"net/url"
)
func HealthCheck(healthURL string) error {
func healthCheck(healthURL string) error {
healthCheckURL, err := url.Parse(healthURL)
if err != nil {
return fmt.Errorf("error parsing HealthCheck URL: %v ", err)