yokyo 5 years ago
parent
commit
731bfbcb16
2 changed files with 9 additions and 9 deletions
  1. 8 8
      confs.proto
  2. 1 1
      enums.proto

+ 8 - 8
confs.proto

@@ -8,13 +8,13 @@ message ZkConf {
     repeated string addrs   = 1;
     string username         = 2;
     string password         = 3;
-    int32 timeout             = 4;
+    int32 timeout           = 4;
 }
 
 message RedisConf {
     repeated string addrs   = 1;
     string password         = 2;
-    int32 db                  = 3;
+    int32 db                = 3;
 }
 
 message NatsConf {
@@ -33,19 +33,19 @@ message AgentConf {
     string profileAddr  = 6;
     string agentAddr    = 7;
     string logPath      = 8;
-    int32 level           = 9;
+    int32 level         = 9;
     string mode         = 10;
 }
 
 message LoginConf {
-    uint64 id                  = 1;
+    uint64 id           = 1;
     RedisConf redis     = 2;
     NatsConf nats       = 3;
     string addr         = 4;
     string agentAddr    = 5;
     string logPath      = 6;
-    int32 level        = 7;
-    string mode     = 8;
+    int32 level         = 7;
+    string mode         = 8;
 }
 
 message ManagerConf {
@@ -55,7 +55,7 @@ message ManagerConf {
     string addr         = 4;
     string profileAddr  = 6;
     string logPath      = 8;
-    int32 level           = 9;
+    int32 level         = 9;
     string mode         = 10;
 }
 
@@ -68,6 +68,6 @@ message LogicConf {
     string profileAddr  = 6;
     string agentAddr    = 7;
     string logPath      = 8;
-    int32 level           = 9;
+    int32 level         = 9;
     string mode         = 10;
 }

+ 1 - 1
enums.proto

@@ -48,5 +48,5 @@ enum ActionProgress {
 }
 
 enum MsgIdMain {
-    S_NotFound      = 0;
+    S_NotFound          = 0;
 }