mirror of
https://github.com/vacp2p/dasy.git
synced 2026-01-08 22:37:59 -05:00
* started working on payload concept * added crypto * moved into new package, added feed * added nicer feed stuff * minor readme for now * subscribe implemented badly * doc * doc block * cleaned up a little * making a mutex * mock, empty test * test wrapper * started playing around * updated mock * formatted * updated * updated interface * updated * updated * updated mock, rewrote test stuff * todos * added tests * reuse * dont need var
18 lines
312 B
Protocol Buffer
18 lines
312 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package mvds;
|
|
option go_package = "protobuf";
|
|
|
|
message Payload {
|
|
repeated bytes acks = 5001;
|
|
repeated bytes offers = 5002;
|
|
repeated bytes requests = 5003;
|
|
repeated Message messages = 5004;
|
|
}
|
|
|
|
message Message {
|
|
bytes group_id = 6001;
|
|
int64 timestamp = 6002;
|
|
bytes body = 6003;
|
|
}
|