Documentation ¶
Index ¶
- func Entry(port int, iam iam.IAM, store store.Store, seer seer.Seer, ...) error
- type Server
- func (s *Server) AddChannel(ctx context.Context, req api.AddChannelRequest) (*api.Channel, error)
- func (s *Server) AddPlaylist(ctx context.Context, req api.AddPlaylistRequest) (*api.Playlist, error)
- func (s *Server) AddVideo(ctx context.Context, req api.AddVideoRequest) (*api.Video, error)
- func (s *Server) CreateProject(ctx context.Context, project api.Project) (*api.Project, error)
- func (s *Server) DeleteProject(ctx context.Context, req api.DeleteProject) (*api.Void, error)
- func (s *Server) GetProject(ctx context.Context, req api.GetProject) (*api.Project, error)
- func (s *Server) GetProjectByName(ctx context.Context, req api.GetProjectByName) (*api.Project, error)
- func (s *Server) GetProjectIDsForChannel(ctx context.Context, req api.GetProjectIDsForChannelRequest) (*api.GetProjectIDsForChannelResponse, error)
- func (s *Server) GetProjectIDsForPlaylist(ctx context.Context, req api.GetProjectIDsForPlaylistRequest) (*api.GetProjectIDsForPlaylistResponse, error)
- func (s *Server) GetProjectIDsForVideo(ctx context.Context, req api.GetProjectIDsForVideoRequest) (*api.GetProjectIDsForVideoResponse, error)
- func (s *Server) IsProjectEmpty(ctx context.Context, req api.IsProjectEmptyRequest) (*api.IsProjectEmptyResponse, error)
- func (s *Server) ListChannelIDs(ctx context.Context, req api.ListChannelIDsRequest) (*api.ListChannelIDsResponse, error)
- func (s *Server) ListChannels(ctx context.Context, req api.ListChannelsRequest) (*api.ListChannelsResponse, error)
- func (s *Server) ListPlaylistIDs(ctx context.Context, req api.ListPlaylistIDsRequest) (*api.ListPlaylistIDsResponse, error)
- func (s *Server) ListPlaylists(ctx context.Context, req api.ListPlaylistsRequest) (*api.ListPlaylistsResponse, error)
- func (s *Server) ListProjects(ctx context.Context, req api.ListProjectsRequest) (*api.ListProjectsResponse, error)
- func (s *Server) ListVideoIDs(ctx context.Context, req api.ListVideoIDsRequest) (*api.ListVideoIDsResponse, error)
- func (s *Server) ListVideos(ctx context.Context, req api.ListVideosRequest) (*api.ListVideosResponse, error)
- func (s *Server) ListVisibleProjects(ctx context.Context, userID string) ([]*api.Project, error)
- func (s *Server) ListenAndServe(port int) error
- func (s *Server) RemoveChannel(ctx context.Context, req api.RemoveChannelRequest) (*api.Void, error)
- func (s *Server) RemovePlaylist(ctx context.Context, req api.RemovePlaylistRequest) (*api.Void, error)
- func (s *Server) RemoveVideo(ctx context.Context, req api.RemoveVideoRequest) (*api.Void, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddChannel ¶
func (*Server) AddPlaylist ¶
func (*Server) CreateProject ¶
func (*Server) DeleteProject ¶
func (*Server) GetProject ¶
func (*Server) GetProjectByName ¶
func (*Server) GetProjectIDsForChannel ¶
func (s *Server) GetProjectIDsForChannel( ctx context.Context, req api.GetProjectIDsForChannelRequest, ) (*api.GetProjectIDsForChannelResponse, error)
func (*Server) GetProjectIDsForPlaylist ¶
func (s *Server) GetProjectIDsForPlaylist( ctx context.Context, req api.GetProjectIDsForPlaylistRequest, ) (*api.GetProjectIDsForPlaylistResponse, error)
func (*Server) GetProjectIDsForVideo ¶
func (s *Server) GetProjectIDsForVideo( ctx context.Context, req api.GetProjectIDsForVideoRequest, ) (*api.GetProjectIDsForVideoResponse, error)
func (*Server) IsProjectEmpty ¶
func (s *Server) IsProjectEmpty( ctx context.Context, req api.IsProjectEmptyRequest, ) (*api.IsProjectEmptyResponse, error)
func (*Server) ListChannelIDs ¶
func (s *Server) ListChannelIDs(ctx context.Context, req api.ListChannelIDsRequest) (*api.ListChannelIDsResponse, error)
func (*Server) ListChannels ¶
func (s *Server) ListChannels(ctx context.Context, req api.ListChannelsRequest) (*api.ListChannelsResponse, error)
func (*Server) ListPlaylistIDs ¶
func (s *Server) ListPlaylistIDs(ctx context.Context, req api.ListPlaylistIDsRequest) (*api.ListPlaylistIDsResponse, error)
func (*Server) ListPlaylists ¶
func (s *Server) ListPlaylists(ctx context.Context, req api.ListPlaylistsRequest) (*api.ListPlaylistsResponse, error)
func (*Server) ListProjects ¶
func (s *Server) ListProjects( ctx context.Context, req api.ListProjectsRequest, ) (*api.ListProjectsResponse, error)
func (*Server) ListVideoIDs ¶
func (s *Server) ListVideoIDs(ctx context.Context, req api.ListVideoIDsRequest) (*api.ListVideoIDsResponse, error)
func (*Server) ListVideos ¶
func (s *Server) ListVideos(ctx context.Context, req api.ListVideosRequest) (*api.ListVideosResponse, error)
func (*Server) ListVisibleProjects ¶
func (*Server) ListenAndServe ¶
func (*Server) RemoveChannel ¶
func (*Server) RemovePlaylist ¶
func (*Server) RemoveVideo ¶
Source Files ¶
- add_channel.go
- add_playlist.go
- add_video.go
- create_project.go
- delete_project.go
- entry.go
- get_project.go
- get_project_by_name.go
- get_project_ids_for_channel.go
- get_project_ids_for_playlist.go
- get_project_ids_for_video.go
- is_project_empty.go
- list_channels.go
- list_playlists.go
- list_projects.go
- list_videos.go
- remove_channel.go
- remove_playlist.go
- remove_video.go
- server.go
- trigger_recompile.go
Click to show internal directories.
Click to hide internal directories.