Documentation ¶
Index ¶
- type Config
- type Store
- func (s *Store) Create(ctx context.Context, vi *model.Video) error
- func (s *Store) Delete(ctx context.Context, id, userID string) error
- func (s *Store) DeleteUploadedParts(ctx context.Context, vid string) error
- func (s *Store) Get(ctx context.Context, id, userID string) (*model.Video, error)
- func (s *Store) GetAll(ctx context.Context, userID string) ([]*model.Video, error)
- func (s *Store) GetListByStatus(ctx context.Context, status model.Status) ([]*model.Video, error)
- func (s *Store) Update(ctx context.Context, vi *model.Video) error
- func (s *Store) UpdatePart(ctx context.Context, vid string, part *model.Part) error
- func (s *Store) UpdateStatus(ctx context.Context, vi *model.Video) error
- func (s *Store) Usage(ctx context.Context, userID string) (*model.UserUsage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) DeleteUploadedParts ¶
func (*Store) GetListByStatus ¶
func (*Store) UpdatePart ¶
func (*Store) UpdateStatus ¶
Click to show internal directories.
Click to hide internal directories.