(ctx *gin.Context, f func(pagingParams *pagingParams))
| 120 | } |
| 121 | |
| 122 | func 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…