code wiki / _hdl_build / nx_apistack_paginate.nx

nx_apistack_paginate.nx

buildroot/runtime/_hdl_build/nx_apistack_paginate.nx

930 B20 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic apistack
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_apistack_paginate.nx nx_apistack_paginate_gate.nx

imports: nx_syscalls.nx

imported by: nx_apistack_paginate_gate.nx

structs

none

consts

none

functions

8func pg_count(total: i64, cursor: i64, limit: i64) -> i64
called by 1: main
16func pg_next(total: i64, cursor: i64, limit: i64) -> i64
called by 1: main