proto-socket/go/packets/message_common.proto
toki 14e4cd56d0 feat: add WebSocket/WSS support and Go implementation
- 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
2026-04-11 08:33:46 +09:00

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;
}