Skip to content

Commit

Permalink
Added 3 more common messages
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 18, 2023
1 parent c48136f commit b04462f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/wsMessages/wsMessages.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ type WSMessage string

var (
Acknowledged WSMessage = "ACKNOWLEDGED"
Ping WSMessage = "ping"
Pong WSMessage = "pong"
Okay WSMessage = "OKAY"
)

func (r WSMessage) String() string {
Expand Down

0 comments on commit b04462f

Please sign in to comment.