MCPcopy
hub / github.com/gotify/server / withPaging

Function withPaging

api/message.go:122–127  ·  view source on GitHub ↗
(ctx *gin.Context, f func(pagingParams *pagingParams))

Source from the content-addressed store, hash-verified

120}
121
122func withPaging(ctx *gin.Context, f func(pagingParams *pagingParams)) {
123 params := &pagingParams{Limit: 100}
124 if err := ctx.MustBindWith(params, binding.Query); err == nil {
125 f(params)
126 }
127}
128
129// GetMessagesWithApplication returns all messages from a specific application.
130// swagger:operation GET /application/{id}/message message getAppMessages

Callers 2

GetMessagesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…