fileHandler is a handler function for the /blob API @Summary Get a blob by URL @Param url path string true "The URL of the blob" @Success 200 {string} string "The blob content" @Failure 404 {string} string "Not Found" @Router /blobs/{url} [get]
(c *gin.Context)
| 83 | // @Failure 404 {string} string "Not Found" |
| 84 | // @Router /blobs/{url} [get] |
| 85 | func fileHandler(c *gin.Context) { |
| 86 | fh.Handle(pcontext.FromContext(c)) |
| 87 | } |