collect

package
v0.0.0-...-0e337b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudDrive

func CloudDrive(driveScan GDriveScan) int

func CloudStorage

func CloudStorage(gStorageScan GStorageScan) int

func Gmail

func Gmail(gMailScan GMailScan) int

func LocalDrive

func LocalDrive(localScan LocalScan) int

func Photos

func Photos(photosScan GPhotosScan) int

Types

type Album

type Album struct {
	Id                    string
	Title                 string
	ProductUrl            string
	MediaItemsCount       string
	CoverPhotoBaseUrl     string
	CoverPhotoMediaItemId string
}

func ListAlbums

func ListAlbums(refreshToken string) []Album

type ContributorInfo

type ContributorInfo struct {
	ProfilePictureBaseUrl string
	DisplayName           string
}

type GDriveScan

type GDriveScan struct {
	QueryString  string
	RefreshToken string
}

type GMailScan

type GMailScan struct {
	Filter       string
	RefreshToken string
}

type GPhotosScan

type GPhotosScan struct {
	AlbumId      string
	FetchSize    bool
	FetchMd5Hash bool
	RefreshToken string
}

type GStorageScan

type GStorageScan struct {
	Bucket string
}

type ListAlbumsResponse

type ListAlbumsResponse struct {
	Albums        []Album
	NextPageToken string
}

type ListMediaItemResponse

type ListMediaItemResponse struct {
	MediaItems    []MediaItem
	NextPageToken string
}

type LocalScan

type LocalScan struct {
	Path string
}

type MediaItem

type MediaItem struct {
	Id              string
	Description     string
	ProductUrl      string
	BaseUrl         string
	MimeType        string
	Filename        string
	MediaMetadata   MediaMetadata
	ContributorInfo ContributorInfo
}

type MediaMetadata

type MediaMetadata struct {
	CreationTime string
	Width        string
	Height       string

	// Union field metadata can be only one of the following:
	Photo Photo
	Video Video
}

type Photo

type Photo struct {
	CameraMake      string
	CameraModel     string
	FocalLength     float32
	ApertureFNumber float32
	IsoEquivalent   int
	ExposureTime    string
}

type SearchMediaItemRequest

type SearchMediaItemRequest struct {
	AlbumId   string `json:"albumId"`
	PageSize  int    `json:"pageSize"`
	PageToken string `json:"pageToken"`
	OrderBy   string `json:"orderBy"`
}

type Video

type Video struct {
	CameraMake  string
	CameraModel string
	Fps         float32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL