nats-transport/protobuf.proto
jar3b@outlook.com 0b9114e50c feat: WIP
2021-09-23 02:42:00 +03:00

27 lines
475 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;nats_transport";
option csharp_namespace = "NatsTransport.Messages";
message Values {
repeated string arr = 1;
}
message Request {
string Proto = 1;
string Scheme = 2;
string Host = 3;
string URL = 4;
string Method = 5;
string RemoteAddr = 6;
bytes Body = 7;
map<string, Values> Header = 8;
}
message Response {
int32 StatusCode = 1;
map<string, Values> Header = 2;
bytes Body = 3;
string Error = 4;
}