From d2d968c2edf5518dda717f1602dd6204e0256e35 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 16 四月 2020 15:52:06 +0800
Subject: [PATCH] Organize the structure

---
 config/config.go |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/config/config.go b/config/config.go
index f49f244..3572808 100644
--- a/config/config.go
+++ b/config/config.go
@@ -5,6 +5,22 @@
 	"log"
 )
 
+const (
+	StartServerScript = "seaweedfs_start.sh"
+	StopServerScript  = "seaweedfs_stop.sh"
+	//浣滀负 volume 鍚姩
+	StartScriptAsVolume = "1"
+	//浣滀负 master 鍚姩
+	StartScriptAsMaster = "2"
+	//浣滀负 master + volume 鍚姩
+	StartScriptAsMaVo = "3"
+	//鍚姩椤瑰弬鏁板ご
+	Option = "option="
+	//master鍒楄〃椤瑰弬鏁板ご
+	Peer = "peers="
+	//StartScriptAsFiler	= "option=4"
+)
+
 type server struct {
 	EsServerIp   string `mapstructure: "esServerIp"`
 	EsServerPort string `mapstructure: "esServerPort"`

--
Gitblit v1.8.0