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.
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
package main
|
||||
|
||||
func main() {}
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"evobgp/internal/config"
|
||||
"evobgp/internal/render"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg := config.Load()
|
||||
name := cfg.ServiceName
|
||||
if name == "" {
|
||||
name = "evobgp-render"
|
||||
}
|
||||
log.Printf("%s starting (reference profile worker)", name)
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
defer stop()
|
||||
render.Run(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user