code wiki / _hdl_build / nx_apistack_paginate.nx
nx_apistack_paginate.nx
buildroot/runtime/_hdl_build/nx_apistack_paginate.nx
about
nx_apistack_paginate.nx -- CAP-API-PAGINATE: deterministic cursor pagination for /api list endpoints (shards,
services, audit...). Pure index math over a stable ordered set: pg_count = items on this page, pg_next = the next
cursor (or -1 = last page, the Link rel=next terminator). Deterministic over the append-only registries = the
sovereign exceed over opaque cloud page-tokens. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_apistack_paginate_gate.nx
structs
| none |
consts
| none |
functions
| 8 | func pg_count(total: i64, cursor: i64, limit: i64) -> i64 called by 1: main |
| 16 | func pg_next(total: i64, cursor: i64, limit: i64) -> i64 called by 1: main |