From 0a49d17e0fe62b2c47cfa6d5c5552aa43500d8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=B8=D0=B9=20=D0=A1?= =?UTF-8?q?=D0=B0=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Wed, 22 Apr 2026 21:29:19 +0000 Subject: [PATCH] Update cmd/futriis/main.go --- cmd/futriis/main.go | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/cmd/futriis/main.go b/cmd/futriis/main.go index 39508e3..50ffbbe 100644 --- a/cmd/futriis/main.go +++ b/cmd/futriis/main.go @@ -14,11 +14,6 @@ // Управляет жизненным циклом приложения. -// Файл: cmd/futriis/main.go -// Назначение: Точка входа в приложение СУБД futriis. Инициализирует все компоненты: -// конфигурацию, логгер, хранилище, Raft координатор, ACL менеджер, HTTP API, WebUI и REPL. -// Управляет жизненным циклом приложения. - package main import ( @@ -125,7 +120,7 @@ func main() { if cfg.WebUI.Enabled { logger.Info(fmt.Sprintf("Web UI started on port %d", webUIPort)) - // Убрано: вывод строки "Web UI available at http://localhost:9080" в консоль + // utils.PrintInfo(fmt.Sprintf("Web UI available at http://localhost:%d", webUIPort)) } displayBanner(cfg.Cluster.Name, cfg.WebUI.Enabled, webUIPort) @@ -161,12 +156,11 @@ func displayBanner(clusterName string, webUIEnabled bool, webUIPort int) { " Distributed Document-Store in-memory database with support lua plugins ", " Cluster status: enable (Raft consensus)", " Cluster name: " + clusterName, - " HTTP API (with curl only): http://localhost:8080/api/", + " HTTP API: http://localhost:8080/api/", } if webUIEnabled { - // Строка с Web UI убрана, оставлена только для внутреннего использования - // bannerLines = append(bannerLines, fmt.Sprintf(" Web UI: http://localhost:%d/", webUIPort)) + bannerLines = append(bannerLines, fmt.Sprintf(" Web UI: http://localhost:%d/", webUIPort)) } bannerLines = append(bannerLines, []string{ @@ -188,4 +182,4 @@ func printJSON(data interface{}) { return } fmt.Println(string(jsonData)) -} +} \ No newline at end of file