mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 15:05:01 +00:00
Thumbnail service, image upload fixes (#119)
This commit is contained in:
22
thumbnail/proto/thumbnail.proto
Normal file
22
thumbnail/proto/thumbnail.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user