Documentation ¶
Index ¶
- type Store
- func (m *Store) AddVideo(ctx context.Context, playlistID, videoID int) error
- func (m *Store) AddVideos(ctx context.Context, playlistID int, videoIDs []int) error
- func (m *Store) All(ctx context.Context) ([]playlist.Playlist, error)
- func (m *Store) DeleteVideo(ctx context.Context, playlistID, videoID int) error
- func (m *Store) Get(ctx context.Context, playlistID int) (playlist.Playlist, error)
- func (m *Store) New(ctx context.Context, p playlist.New) (int, error)
- func (m *Store) Update(ctx context.Context, p playlist.Meta, videoIDs []int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store contains our dependency
func (*Store) DeleteVideo ¶
DeleteVideo deletes a single video from a playlist
Click to show internal directories.
Click to hide internal directories.