File: renderer.proto

package info (click to toggle)
golang-github-grafana-grafana-plugin-model 0.0~git20200514.df1eb6b-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 148 kB
  • sloc: makefile: 14
file content (25 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
syntax = "proto3";
option go_package = "renderer";

package models;

message RenderRequest {
  string url = 1;
  int32 width = 2;
  int32 height = 3;
  int32 timeout = 4;
  string timezone = 5;
  string encoding = 6;
  string filePath = 7;
  string renderKey = 8;
  string domain = 9;
  bool debug = 10;
}

message RenderResponse {
  string error = 1;
}

service Renderer {
  rpc Render(RenderRequest) returns (RenderResponse);
}