Created
April 24, 2019 09:28
-
-
Save syossan27/8d83b0612306f4b66c98733d8b7a937c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message Response { | |
google.protobuf.Any pagination = 1; | |
} | |
// Server側レスポンス | |
message ServerPaginationMessage { | |
uint32 page = 1; | |
uint32 limit = 2; | |
uint32 size = 3; | |
PaginationMessage first = 4; | |
PaginationMessage last = 5; | |
PaginationMessage next = 6; | |
PaginationMessage prev = 7; | |
} | |
// Gateway側レスポンス | |
message GatewayPaginationMessage { | |
uint32 page = 1; | |
uint32 limit = 2; | |
uint32 size = 3; | |
string first = 4; | |
string last = 5; | |
string next = 6; | |
string prev = 7; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment