Documentation ¶
Index ¶
- Constants
- func LoginServer(data chan *string, httpListenPort int, redirectPath string)
- type BatchCreateMediaItemsRequest
- type BatchCreateMediaItemsResponse
- type ContributorInfo
- type GooglePhotosApi
- type Login
- type MediaItem
- type MediaMetadata
- type NewMediaItem
- type NewMediaItemResult
- type Photo
- type SimpleMediaItem
Constants ¶
View Source
const UPLOAD_URL = "https://photoslibrary.googleapis.com/v1/uploads"
Variables ¶
This section is empty.
Functions ¶
func LoginServer ¶
Types ¶
type BatchCreateMediaItemsRequest ¶
type BatchCreateMediaItemsRequest struct {
NewMediaItems []NewMediaItem `json:"newMediaItems"`
}
type BatchCreateMediaItemsResponse ¶
type BatchCreateMediaItemsResponse struct {
NewMediaItemResults []NewMediaItemResult `json:"newMediaItemResults"`
}
type ContributorInfo ¶
type GooglePhotosApi ¶
type Login ¶
type Login struct {
// contains filtered or unexported fields
}
func NewLogin ¶
func NewLogin(c configuration.Conf) Login
type MediaItem ¶
type MediaItem struct { Id string `json:"id"` Description string `json:"description"` ProductUrl string `json:"productUrl"` BaseUrl string `json:"baseUrl"` MimeType string `json:"mimeType"` Filename string `json:"filename"` MediaMetadata MediaMetadata `json:"mediaMetadata"` ContributorInfo ContributorInfo `json:"contributorInfo"` }
type MediaMetadata ¶
type NewMediaItem ¶
type NewMediaItem struct { Description string `json:"description"` SimpleMediaItem SimpleMediaItem `json:"simpleMediaItem"` }
type NewMediaItemResult ¶
type SimpleMediaItem ¶
Click to show internal directories.
Click to hide internal directories.