This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
resply/protos/rslp.proto

35 lines
705 B
Protocol Buffer

//
// Copyright 2018 Christoph Heiss <me@christoph-heiss.me>
// Distributed under the Boost Software License, Version 1.0.
//
// See accompanying file LICENSE in the project root directory
// or copy at http://www.boost.org/LICENSE_1_0.txt
//
syntax = "proto3";
package rslp;
message Command {
enum Type {
STRING = 0;
ERROR = 1;
INTEGER = 2;
ARRAY = 3;
}
message Data {
oneof data {
string str = 1;
sint64 int = 2;
Command subdata = 3;
}
}
Type type = 1;
repeated Data data = 2;
}