Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(v VideoRepository) *Service
NewService will create a new article service object
func (*Service) GetStreamReader ¶
func (*Service) SearchVideos ¶
type VideoRepository ¶
type VideoRepository interface { SearchVideos(text string, amount int64) ([]domain.SearchedVideo, error) GetStreamReader() (io.ReadCloser, error) }
Click to show internal directories.
Click to hide internal directories.