channel

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	List([]string, string)
	Update(output string)
	// contains filtered or unexported methods
}

func NewChannel

func NewChannel(opts ...Option) Channel

type Option

type Option func(*channel)

func WithCategoryId

func WithCategoryId(categoryId string) Option

func WithChannelManagedByMe

func WithChannelManagedByMe(managedByMe bool, changed bool) Option

func WithCountry

func WithCountry(country string) Option

func WithCustomUrl

func WithCustomUrl(url string) Option

func WithDefaultLanguage

func WithDefaultLanguage(language string) Option

func WithDescription

func WithDescription(desc string) Option

func WithForHandle

func WithForHandle(handle string) Option

func WithForUsername

func WithForUsername(username string) Option

func WithHl

func WithHl(hl string) Option

func WithID

func WithID(id string) Option

func WithMaxResults

func WithMaxResults(maxResults int64) Option

func WithMine

func WithMine(mine bool, changed bool) Option

func WithMySubscribers

func WithMySubscribers(mySubscribers bool, changed bool) Option

func WithOnBehalfOfContentOwner

func WithOnBehalfOfContentOwner(contentOwner string) Option

func WithService

func WithService(svc *youtube.Service) Option

func WithTitle

func WithTitle(title string) Option

Jump to

Keyboard shortcuts

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