service backend
This commit is contained in:
12
api/proto/common/pagination/v1/cursor.proto
Normal file
12
api/proto/common/pagination/v1/cursor.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
package common.pagination.v1;
|
||||
option go_package = "github.com/tech/sendico/pkg/proto/common/pagination/v1;paginationv1";
|
||||
|
||||
message CursorPageRequest {
|
||||
string cursor = 1; // opaque
|
||||
int32 limit = 2; // page size
|
||||
}
|
||||
|
||||
message CursorPageResponse {
|
||||
string next_cursor = 1; // opaque
|
||||
}
|
||||
Reference in New Issue
Block a user