Skip to content

Commit

Permalink
Represent stateName by []string instead of map (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 committed Sep 21, 2024
1 parent 65e989e commit 5745601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2973,7 +2973,7 @@ const (
StateClosed
)

var stateName = map[ConnState]string{
var stateName = []string{
StateNew: "new",
StateActive: "active",
StateIdle: "idle",
Expand Down

0 comments on commit 5745601

Please # to comment.