repository

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 2 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL