mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
add joke comments
This commit is contained in:
@@ -2,7 +2,4 @@ Funny Jokes
|
||||
|
||||
# Joke Service
|
||||
|
||||
This is the Joke service
|
||||
|
||||
Leveraged by https://github.com/taivop/joke-dataset
|
||||
|
||||
A simple set random funny jokes to tell friends and family
|
||||
|
||||
@@ -5,10 +5,10 @@ package joke;
|
||||
option go_package = "./proto;joke";
|
||||
|
||||
service Joke {
|
||||
// get n random jokes
|
||||
rpc Random(RandomRequest) returns (RandomResponse) {}
|
||||
}
|
||||
|
||||
// Get a random joke
|
||||
message RandomRequest {
|
||||
// the count of random jokes want, maximum: 10
|
||||
int32 count = 1;
|
||||
@@ -19,7 +19,6 @@ message JokeInfo {
|
||||
string title = 2;
|
||||
string body = 3;
|
||||
string category = 4;
|
||||
// the source of joke
|
||||
string source = 5;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user