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

32 lines
712 B
Protocol Buffer
Raw Normal View History

2018-01-19 18:31:32 +01:00
//
// 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 {
message Data {
oneof data {
string str = 1;
string err = 2;
sint64 int = 3;
Command array = 4;
2018-01-19 18:31:32 +01:00
}
}
repeated Data data = 1;
2018-01-19 18:31:32 +01:00
}
service ProtoAdapter {
rpc execute(Command) returns (Command) {}
rpc subscribe(Command) returns (stream Command) {}
}