MCPcopy
hub / github.com/flipped-aurora/gin-vue-admin / CloudflareR2

Struct CloudflareR2

server/utils/upload/cloudflare_r2.go:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type CloudflareR2 struct{}
20
21func (c *CloudflareR2) UploadFile(file *multipart.FileHeader) (fileUrl string, fileName string, err error) {
22 client := c.newR2Client()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected