Documentation
¶
Index ¶
- func DeleteScanHandler(w http.ResponseWriter, r *http.Request)
- func DoScansHandler(w http.ResponseWriter, r *http.Request)
- func GoogleAccountLinkingHandler(w http.ResponseWriter, r *http.Request)
- func ListAlbumsHandler(w http.ResponseWriter, r *http.Request)
- func ListMessageMetaDataHandler(w http.ResponseWriter, r *http.Request)
- func ListPhotosHandler(w http.ResponseWriter, r *http.Request)
- func ListScanDataHandler(w http.ResponseWriter, r *http.Request)
- func ListScansHandler(w http.ResponseWriter, r *http.Request)
- func StartWebServer()
- type DoScanRequest
- type DoScanResponse
- type ListAlbumsResponse
- type MessageMetadataResponse
- type OAuthAccessResponse
- type PaginationInfo
- type PhotosMediaItemResponse
- type ScanDataResponse
- type ScansResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteScanHandler ¶
func DeleteScanHandler(w http.ResponseWriter, r *http.Request)
func DoScansHandler ¶
func DoScansHandler(w http.ResponseWriter, r *http.Request)
func GoogleAccountLinkingHandler ¶
func GoogleAccountLinkingHandler(w http.ResponseWriter, r *http.Request)
func ListAlbumsHandler ¶
func ListAlbumsHandler(w http.ResponseWriter, r *http.Request)
func ListMessageMetaDataHandler ¶
func ListMessageMetaDataHandler(w http.ResponseWriter, r *http.Request)
func ListPhotosHandler ¶
func ListPhotosHandler(w http.ResponseWriter, r *http.Request)
func ListScanDataHandler ¶
func ListScanDataHandler(w http.ResponseWriter, r *http.Request)
func ListScansHandler ¶
func ListScansHandler(w http.ResponseWriter, r *http.Request)
func StartWebServer ¶
func StartWebServer()
Types ¶
type DoScanRequest ¶
type DoScanRequest struct { ScanType string LocalScan collect.LocalScan GDriveScan collect.GDriveScan GStorageScan collect.GStorageScan GMailScan collect.GMailScan GPhotosScan collect.GPhotosScan }
type DoScanResponse ¶
type DoScanResponse struct {
ScanId int `json:"scan_id"`
}
type ListAlbumsResponse ¶
type ListAlbumsResponse struct { PageInfo PaginationInfo `json:"pagination_info"` Albums []collect.Album `json:"albums"` }
type MessageMetadataResponse ¶
type MessageMetadataResponse struct { PageInfo PaginationInfo `json:"pagination_info"` MessageMetadata []db.MessageMetadataRead `json:"message_metadata"` }
type OAuthAccessResponse ¶
type PaginationInfo ¶
type PhotosMediaItemResponse ¶
type PhotosMediaItemResponse struct { PageInfo PaginationInfo `json:"pagination_info"` PhotosMediaItem []db.PhotosMediaItemRead `json:"photos_media_item"` }
type ScanDataResponse ¶
type ScanDataResponse struct { PageInfo PaginationInfo `json:"pagination_info"` ScanData []db.ScanData `json:"scan_data"` }
type ScansResponse ¶
type ScansResponse struct { PageInfo PaginationInfo `json:"pagination_info"` Scans []db.Scan `json:"scans"` }
Click to show internal directories.
Click to hide internal directories.