yt

package
v0.0.0-...-591e2b5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YTData

type YTData struct {
	VideoId           string `json:"video_id"`
	VideoTitle        string `json:"video_title"`
	VideoLikeCount    int    `json:"video_like_count"`
	VideoCommentCount int    `json:"video_comment_count"`
	ClientTelegramId  string `json:"client_telegram_id"`
}

type YTDataService

type YTDataService struct {
	// contains filtered or unexported fields
}

func NewYTDataService

func NewYTDataService(conf1 *kafka.ConfigMap, producerPtr *kafka.Producer, playlistID string, clientTelegramId string) *YTDataService

func (*YTDataService) GetYTData

func (y *YTDataService) GetYTData(ctx context.Context) ([]*YTData, error)

Jump to

Keyboard shortcuts

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