Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GenerateVideoURL(id string) string GenerateChannelURL(id string) string IsURLValid(url string) bool GetIDFromURL(ctx context.Context, url string) (string, error) GetSourceURLByID(ctx context.Context, id string) (string, error) GetVideos(ctx context.Context, query string, limit int64) ([]entity.Video, error) GetVideo(ctx context.Context, id string) (*entity.Video, error) }
Repository contains functions for youtube domain.
Click to show internal directories.
Click to hide internal directories.