Commit 6cdd771f authored by AlexStocks's avatar AlexStocks

Fix: use echo-server as default session name in server

parent c4890f04
...@@ -48,7 +48,7 @@ type ( ...@@ -48,7 +48,7 @@ type (
WaitTimeout string `default:"7s"` WaitTimeout string `default:"7s"`
waitTimeout time.Duration waitTimeout time.Duration
MaxMsgLen int `default:"1024"` MaxMsgLen int `default:"1024"`
SessionName string `default:"echo-client"` SessionName string `default:"echo-server"`
} }
// Config holds supported types by the multiconfig package // Config holds supported types by the multiconfig package
......
...@@ -44,7 +44,7 @@ type ( ...@@ -44,7 +44,7 @@ type (
WaitTimeout string `default:"7s"` WaitTimeout string `default:"7s"`
waitTimeout time.Duration waitTimeout time.Duration
MaxMsgLen int `default:"1024"` MaxMsgLen int `default:"1024"`
SessionName string `default:"echo-client"` SessionName string `default:"echo-server"`
} }
// Config holds supported types by the multiconfig package // Config holds supported types by the multiconfig package
......
...@@ -47,7 +47,7 @@ type ( ...@@ -47,7 +47,7 @@ type (
WaitTimeout string `default:"7s"` WaitTimeout string `default:"7s"`
waitTimeout time.Duration waitTimeout time.Duration
MaxMsgLen int `default:"1024"` MaxMsgLen int `default:"1024"`
SessionName string `default:"echo-client"` SessionName string `default:"echo-server"`
} }
// Config holds supported types by the multiconfig package // Config holds supported types by the multiconfig package
......
...@@ -47,7 +47,7 @@ type ( ...@@ -47,7 +47,7 @@ type (
WaitTimeout string `default:"7s"` WaitTimeout string `default:"7s"`
waitTimeout time.Duration waitTimeout time.Duration
MaxMsgLen int `default:"1024"` MaxMsgLen int `default:"1024"`
SessionName string `default:"echo-client"` SessionName string `default:"echo-server"`
} }
// Config holds supported types by the multiconfig package // Config holds supported types by the multiconfig package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment