mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
0babdad17b
* chore: upgrade go-waku to v0.5 * chore: add println and logs to check what's being stored in the enr, and preemptively delete the multiaddr field (#3219) * feat: add wakuv2 test (#3218)
14 lines
361 B
Go
14 lines
361 B
Go
package websocket
|
|
|
|
// MessageType represents the type of a WebSocket message.
|
|
// See https://tools.ietf.org/html/rfc6455#section-5.6
|
|
type MessageType int
|
|
|
|
// MessageType constants.
|
|
const (
|
|
// MessageText is for UTF-8 encoded text messages like JSON.
|
|
MessageText MessageType = iota + 1
|
|
// MessageBinary is for binary messages like protobufs.
|
|
MessageBinary
|
|
)
|