An atproto PDS written in Go
at v0.6.0 571 B view raw
1package server 2 3import ( 4 "github.com/labstack/echo/v4" 5) 6 7type ComAtprotoRepoListMissingBlobsResponse struct { 8 Cursor *string `json:"cursor,omitempty"` 9 Blobs []ComAtprotoRepoListMissingBlobsRecordBlob `json:"blobs"` 10} 11 12type ComAtprotoRepoListMissingBlobsRecordBlob struct { 13 Cid string `json:"cid"` 14 RecordUri string `json:"recordUri"` 15} 16 17func (s *Server) handleListMissingBlobs(e echo.Context) error { 18 return e.JSON(200, ComAtprotoRepoListMissingBlobsResponse{ 19 Blobs: []ComAtprotoRepoListMissingBlobsRecordBlob{}, 20 }) 21}