syntax = "proto3";

import "entity/stream_message_code.proto";

package grpc;
option go_package = ".;grpc";

message StreamMessage {
  StreamMessageCode code = 1;
  string node_key = 2;
  string key = 3;
  string from = 4;
  string to = 5;
  bytes data = 6;
  string error = 7;
}
