Documentation
¶
Index ¶
- type Store
- func (s *Store) GetItem(ctx context.Context, id int) (*video.Item, error)
- func (s *Store) ListByCalendarMonth(ctx context.Context, year, month int) (*[]video.MetaCal, error)
- func (s *Store) ListMeta(ctx context.Context) (*[]video.Meta, error)
- func (s *Store) ListMetaByUser(ctx context.Context, userID int) (*[]video.Meta, error)
- func (s *Store) NewItem(ctx context.Context, v *video.New) error
- func (s *Store) OfSeries(ctx context.Context, seriesID int) (*[]video.Meta, 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 encapsulates our dependencies
func (*Store) ListByCalendarMonth ¶
ListByCalendarMonth returns a list of VideoMeta's for a given month/year
func (*Store) ListMetaByUser ¶
ListMetaByUser returns a list of VideoMeta's for a given user
Click to show internal directories.
Click to hide internal directories.