From 9595f8becaef3cb0af33273b9a14070974a26d93 Mon Sep 17 00:00:00 2001 From: WMYeah_Mac Date: Tue, 14 May 2024 16:24:33 +0800 Subject: [PATCH] Update v0.0.14 --- config/config.go | 2 +- service_info/service_info.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 8bf9e37..3afebb1 100644 --- a/config/config.go +++ b/config/config.go @@ -5,6 +5,6 @@ package config const ( ProjectName = "blockchain_box" - ProjectVersion = "v0.0.13" + ProjectVersion = "v0.0.14" ProjectDescription = "[blockchain] box" ) diff --git a/service_info/service_info.go b/service_info/service_info.go index 164f047..e23d215 100644 --- a/service_info/service_info.go +++ b/service_info/service_info.go @@ -92,9 +92,10 @@ func GetServiceFlagNumberForStr(str string) ServiceFlag { } type ServiceInfoBase struct { - ServiceFlagNone ServiceFlag // 服务标识:自定义 or 第三方标准服务 + ServiceFlag ServiceFlag // 服务标识:自定义 or 第三方标准服务 ServiceStatus ServiceStatus // 服务运行状态 ServiceStaredTime time.Time // 启动时间 + ServiceName string // 服务名 ServiceRemark string // 服务备注名 ServiceRunPath string // 服务程序路径 ServiceDataPath string // 服务数据文件路径