mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
re-enable gifs (#244)
This commit is contained in:
@@ -2,6 +2,9 @@ Quick and simple GIF search
|
|||||||
|
|
||||||
# GIFs Service
|
# GIFs Service
|
||||||
|
|
||||||
Add GIFs to your project with keyword search and results in multiple sizes and formats.
|
Add GIFs to your project with keyword search and results in multiple sizes and formats.
|
||||||
|
|
||||||

|
|
||||||
|

|
||||||
|
|
||||||
|
When integrating this API please follow GIPHY's attribution guidelines [here](https://developers.giphy.com/docs/sdk/#design-guidelines).
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
// Search for a gif
|
// Search for a GIF
|
||||||
type SearchRequest struct {
|
type SearchRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ service Gifs {
|
|||||||
rpc Search(SearchRequest) returns (SearchResponse) {}
|
rpc Search(SearchRequest) returns (SearchResponse) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Search for a gif
|
// Search for a GIF
|
||||||
message SearchRequest {
|
message SearchRequest {
|
||||||
// The search term
|
// The search term
|
||||||
string query = 1;
|
string query = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user