add joke comments

This commit is contained in:
Asim Aslam
2021-12-08 11:22:56 +00:00
parent 531f0d9fe1
commit 22ce7074a0
2 changed files with 2 additions and 6 deletions

View File

@@ -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

View File

@@ -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;
}