mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update thumbnail readme and comment
This commit is contained in:
@@ -1,23 +1,5 @@
|
|||||||
|
Create website thumbnails
|
||||||
|
|
||||||
# Thumbnail Service
|
# Thumbnail Service
|
||||||
|
|
||||||
This is the Thumbnail service
|
A quick and easy way to create a thumbnail screenshot for any website.
|
||||||
|
|
||||||
Generated with
|
|
||||||
|
|
||||||
```
|
|
||||||
micro new thumbnail
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
Generate the proto code
|
|
||||||
|
|
||||||
```
|
|
||||||
make proto
|
|
||||||
```
|
|
||||||
|
|
||||||
Run the service
|
|
||||||
|
|
||||||
```
|
|
||||||
micro run .
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ service Thumbnail {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create a thumbnail screenshot by passing in a url, height and width
|
||||||
message ScreenshotRequest {
|
message ScreenshotRequest {
|
||||||
string url = 1;
|
string url = 1;
|
||||||
// width of the browser window. optional
|
// width of the browser window. optional
|
||||||
|
|||||||
Reference in New Issue
Block a user