Thumbnail service, image upload fixes (#119)

This commit is contained in:
Janos Dobronszki
2021-05-21 14:25:51 +01:00
committed by GitHub
parent eeed9cee1a
commit d268638cd5
14 changed files with 579 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
package thumbnail;
option go_package = "github.com/micro/services/url/proto;thumbnail";
service Thumbnail {
rpc Screenshot(ScreenshotRequest) returns (ScreenshotResponse) {}
}
message ScreenshotRequest {
string url = 1;
// width of the browser window. optional
int32 width = 2;
// height of the browser window, optional
int32 height = 3;
}
message ScreenshotResponse {
string imageURL = 1;
}