mirror of
https://github.com/harness/drone.git
synced 2025-05-06 16:11:46 +08:00
12 lines
200 B
Go
12 lines
200 B
Go
package server
|
|
|
|
import (
|
|
"github.com/drone/drone/Godeps/_workspace/src/github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func GetQueue(c *gin.Context) {
|
|
queue := ToQueue(c)
|
|
items := queue.Items()
|
|
c.JSON(200, items)
|
|
}
|