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
Christoph Heiss ebb20044d9 Implement gRPC-based server.
Also do a small cleanup regarding the logging facility.
2018-03-06 10:23:10 +01:00

32 lines
712 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 {
message Data {
oneof data {
string str = 1;
string err = 2;
sint64 int = 3;
Command array = 4;
}
}
repeated Data data = 1;
}
service ProtoAdapter {
rpc execute(Command) returns (Command) {}
rpc subscribe(Command) returns (stream Command) {}
}