Represent stateName by []string instead of map (#1871)

This commit is contained in:
Kashiwa
2024-09-21 22:11:46 +08:00
committed by GitHub
parent 65e989e8b8
commit 5745601565
+1 -1
View File
@@ -2973,7 +2973,7 @@ const (
StateClosed
)
var stateName = map[ConnState]string{
var stateName = []string{
StateNew: "new",
StateActive: "active",
StateIdle: "idle",