MCPcopy Create free account
hub / github.com/RaymondCode/simple-demo / Feed

Function Feed

controller/feed.go:16–22  ·  view source on GitHub ↗

Feed same demo video list for every request

(c *gin.Context)

Source from the content-addressed store, hash-verified

14
15// Feed same demo video list for every request
16func Feed(c *gin.Context) {
17 c.JSON(http.StatusOK, FeedResponse{
18 Response: Response{StatusCode: 0},
19 VideoList: DemoVideos,
20 NextTime: time.Now().Unix(),
21 })
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected