Skip to content

Commit

Permalink
Adding common messages
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 18, 2023
1 parent 02843d7 commit c43e9bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/ystv/streamer/common

go 1.21
11 changes: 11 additions & 0 deletions common/wsMessages/wsMessages.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package wsMessages

type WSMessage string

var (
Acknowledged WSMessage = "ACKNOWLEDGED"
)

func (r WSMessage) String() string {
return string(r)
}

0 comments on commit c43e9bd

Please sign in to comment.