Documentation
¶
Overview ¶
@index 공통 pagination 타입과 limit/offset 정규화 규칙을 제공한다.
Index ¶
Constants ¶
View Source
const ( DefaultLimit = 50 MaxLimit = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct {
Limit int `json:"limit"`
Offset int `json:"offset"`
Returned int `json:"returned"`
HasMore bool `json:"has_more"`
NextOffset *int `json:"next_offset,omitempty"`
}
Page describes one bounded result window. @intent expose stable pagination metadata to MCP clients and prompts.
type Request ¶
Request describes a limit/offset pagination request. @intent carry bounded pagination inputs between handlers and services.
Click to show internal directories.
Click to hide internal directories.