repository

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 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