diff options
| author | Shulhan <ms@kilabit.info> | 2021-03-01 17:12:10 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-03-01 17:12:17 +0700 |
| commit | 6275cb49d2b491e844e788d9e5ca3c832b56f05f (patch) | |
| tree | 5a34f1b45860b4dc1fa96487c8959e9a39902bc1 /lib/http/callback_error_handler.go | |
| parent | 95b1982ffe0ca2e5b5316d7d2a591565d05ef368 (diff) | |
| download | pakakeh.go-6275cb49d2b491e844e788d9e5ca3c832b56f05f.tar.xz | |
http: add fields for paging on GenericResponse
If the response is paging, contains more than one item in data, one
can set the current status of paging in field Offset, Limit, and Count.
The Offset field contains the start of paging.
The Limit field contains the maximum number of records per page.
The Count field contains the total number of records.
Diffstat (limited to 'lib/http/callback_error_handler.go')
0 files changed, 0 insertions, 0 deletions
