Last change
on this file since 822 was 822, checked in by yakumo.izuru, 22 months ago |
Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
361 bytes
|
Line | |
---|
1 | package websocket
|
---|
2 |
|
---|
3 | // MessageType represents the type of a WebSocket message.
|
---|
4 | // See https://tools.ietf.org/html/rfc6455#section-5.6
|
---|
5 | type MessageType int
|
---|
6 |
|
---|
7 | // MessageType constants.
|
---|
8 | const (
|
---|
9 | // MessageText is for UTF-8 encoded text messages like JSON.
|
---|
10 | MessageText MessageType = iota + 1
|
---|
11 | // MessageBinary is for binary messages like protobufs.
|
---|
12 | MessageBinary
|
---|
13 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.