repository

package
v0.20.1 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 {
	GetChannelIDByURL(ctx context.Context, url string) (string, int, error)
	GetChannelByID(ctx context.Context, id string) (*entity.Channel, int, error)
	GetVideoIDsByChannelID(ctx context.Context, channelID string) ([]string, int, error)
	GetVideosByIDs(ctx context.Context, ids []string) ([]entity.Video, int, 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