Documentation
¶
Index ¶
Constants ¶
View Source
const ContextKeyID ctxKeyPaging = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Parameters ¶
type Parameters struct { Limit uint64 `json:"limit"` Cursor *Cursor `json:"cursor"` // contains filtered or unexported fields }
func GetParameters ¶
func GetParameters(ctx context.Context) *Parameters
func NewParameters ¶ added in v1.8.4
func NewParameters(limit uint64, cursor *Cursor, w http.ResponseWriter) Parameters
func (Parameters) SetIntCursor ¶ added in v1.8.4
func (p Parameters) SetIntCursor(id int)
func (Parameters) SetUUIDCursor ¶ added in v1.8.4
func (p Parameters) SetUUIDCursor(uuid uuid.UUID, createdAt time.Time)
Click to show internal directories.
Click to hide internal directories.