Documentation ¶
Index ¶
- type AddChannelRequest
- type AddPlaylistRequest
- type AddVideoRequest
- type Channel
- type Collaborator
- type DeleteProject
- type GetProject
- type GetProjectByName
- type GetProjectIDsForChannelRequest
- type GetProjectIDsForChannelResponse
- type GetProjectIDsForPlaylistRequest
- type GetProjectIDsForPlaylistResponse
- type GetProjectIDsForVideoRequest
- type GetProjectIDsForVideoResponse
- type IsProjectEmptyRequest
- type IsProjectEmptyResponse
- type ListChannelIDsRequest
- type ListChannelIDsResponse
- type ListChannelsRequest
- type ListChannelsResponse
- type ListPlaylistIDsRequest
- type ListPlaylistIDsResponse
- type ListPlaylistsRequest
- type ListPlaylistsResponse
- type ListProjectsRequest
- type ListProjectsResponse
- type ListVideoIDsRequest
- type ListVideoIDsResponse
- type ListVideosRequest
- type ListVideosResponse
- type Playlist
- type Project
- type RemoveChannelRequest
- type RemovePlaylistRequest
- type RemoveVideoRequest
- type Sources
- type Video
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddChannelRequest ¶
type AddPlaylistRequest ¶
type AddVideoRequest ¶
type Collaborator ¶
type DeleteProject ¶
type GetProject ¶
type GetProject struct {
ID string `json:"id"`
}
type GetProjectByName ¶
type GetProjectByName struct {
Name string `json:"name"`
}
type GetProjectIDsForChannelRequest ¶
type GetProjectIDsForChannelRequest struct {
ChannelID string `json:"channelID"`
}
type GetProjectIDsForChannelResponse ¶
type GetProjectIDsForChannelResponse struct {
ProjectIDs []string `json:"projectIDs"`
}
type GetProjectIDsForPlaylistRequest ¶
type GetProjectIDsForPlaylistRequest struct {
PlaylistID string `json:"playlistID"`
}
type GetProjectIDsForPlaylistResponse ¶
type GetProjectIDsForPlaylistResponse struct {
ProjectIDs []string `json:"projectIDs"`
}
type GetProjectIDsForVideoRequest ¶
type GetProjectIDsForVideoRequest struct {
VideoID string `json:"videoID"`
}
type GetProjectIDsForVideoResponse ¶
type GetProjectIDsForVideoResponse struct {
ProjectIDs []string `json:"projectIDs"`
}
type IsProjectEmptyRequest ¶
type IsProjectEmptyRequest struct {
ProjectID string `json:"projectID"`
}
type IsProjectEmptyResponse ¶
type IsProjectEmptyResponse struct {
IsEmpty bool `json:"isEmpty"`
}
type ListChannelIDsRequest ¶
type ListChannelIDsResponse ¶
type ListChannelIDsResponse struct {
IDs []string `json:"IDs"`
}
type ListChannelsRequest ¶
type ListChannelsRequest struct {
ProjectID string `json:"projectID"`
}
type ListChannelsResponse ¶
type ListChannelsResponse struct {
Channels []*Channel `json:"channels"`
}
type ListPlaylistIDsRequest ¶
type ListPlaylistIDsResponse ¶
type ListPlaylistIDsResponse struct {
IDs []string `json:"IDs"`
}
type ListPlaylistsRequest ¶
type ListPlaylistsRequest struct {
ProjectID string `json:"projectID"`
}
type ListPlaylistsResponse ¶
type ListPlaylistsResponse struct {
Playlists []*Playlist `json:"playlists"`
}
type ListProjectsRequest ¶
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Projects []*Project `json:"projects"`
}
type ListVideoIDsRequest ¶
type ListVideoIDsResponse ¶
type ListVideoIDsResponse struct {
IDs []string `json:"IDs"`
}
type ListVideosRequest ¶
type ListVideosRequest struct {
ProjectID string `json:"projectID"`
}
type ListVideosResponse ¶
type ListVideosResponse struct {
Videos []*Video `json:"videos"`
}
type RemoveChannelRequest ¶
type RemovePlaylistRequest ¶
type RemoveVideoRequest ¶
type Sources ¶
type Sources interface { CreateProject(Project) Project DeleteProject(DeleteProject) Void ListProjects(ListProjectsRequest) ListProjectsResponse GetProject(GetProject) Project GetProjectByName(GetProjectByName) Project IsProjectEmpty(IsProjectEmptyRequest) IsProjectEmptyResponse GetProjectIDsForChannel(GetProjectIDsForChannelRequest) GetProjectIDsForChannelResponse GetProjectIDsForPlaylist(GetProjectIDsForPlaylistRequest) GetProjectIDsForPlaylistResponse GetProjectIDsForVideo(GetProjectIDsForVideoRequest) GetProjectIDsForVideoResponse AddChannel(AddChannelRequest) Channel AddPlaylist(AddPlaylistRequest) Playlist AddVideo(AddVideoRequest) Video ListChannels(ListChannelsRequest) ListChannelsResponse ListPlaylists(ListPlaylistsRequest) ListPlaylistsResponse ListVideos(ListVideosRequest) ListVideosResponse ListChannelIDs(ListChannelIDsRequest) ListChannelIDsResponse ListPlaylistIDs(ListPlaylistIDsRequest) ListPlaylistIDsResponse ListVideoIDs(ListVideoIDsRequest) ListVideoIDsResponse RemoveChannel(RemoveChannelRequest) Void RemovePlaylist(RemovePlaylistRequest) Void RemoveVideo(RemoveVideoRequest) Void }
Click to show internal directories.
Click to hide internal directories.