17 lines
286 B
Protocol Buffer
17 lines
286 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "git.toki-labs.com/toki/proto-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;
|
|
}
|