- Add WebSocket binary frame support to protocol specification - Update README and PROTOCOL.md to reflect dual TCP/WebSocket transport - Add Go implementation with TCP, WebSocket, and heartbeat support - Include .claude settings configuration
17 lines
276 B
Protocol Buffer
17 lines
276 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "toki-labs.com/toki_socket/go/packets";
|
|
|
|
message PacketBase {
|
|
string typeName = 1;
|
|
int32 nonce = 2;
|
|
bytes data = 3;
|
|
int32 responseNonce = 4;
|
|
}
|
|
|
|
message HeartBeat {}
|
|
|
|
message TestData {
|
|
int32 index = 1;
|
|
string message = 2;
|
|
}
|