syntax = "proto3";

package plugin;

import "google/protobuf/empty.proto";

option go_package = "github.com/ava-labs/avalanchego/proto/pb/plugin";

service Node {
  rpc Start(google.protobuf.Empty) returns (google.protobuf.Empty);
  rpc ExitCode(google.protobuf.Empty) returns (ExitCodeResponse);
  rpc Stop(google.protobuf.Empty) returns (google.protobuf.Empty);
}

message ExitCodeResponse {
  int32 exit_code = 1;
}
