feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
CI / changes (push) Successful in 4s
CI / go (push) Failing after 6s
CI / bird2 (push) Has been skipped
CI / openapi (push) Has been skipped

This commit is contained in:
Denozordec committed 2026-04-05 14:07:45 +07:00
1 parent 272542b92a
commit bf52b21150
131 files changed
+9222 -17

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// Package platform groups cross-cutting runtime concerns (logging hooks, build/service identity).
// Metrics and HTTP middleware live in internal/observability for now.
package platform
import (
"os"
"strings"
)
// ServiceName returns EVOBGP_SERVICE or defaultName when unset.
func ServiceName(defaultName string) string {
if v := strings.TrimSpace(os.Getenv("EVOBGP_SERVICE")); v != "" {
return v
}
return defaultName
}