video

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*video)

func WithAutoLevels

func WithAutoLevels(autoLevels bool, changed bool) Option

func WithCategory

func WithCategory(categoryId string) Option

func WithChannelId

func WithChannelId(channelId string) Option

func WithChart

func WithChart(chart string) Option

func WithComments

func WithComments(comments string) Option

func WithDescription

func WithDescription(description string) Option

func WithEmbeddable

func WithEmbeddable(embeddable bool) Option

func WithFile

func WithFile(file string) Option

func WithForKids

func WithForKids(forKids bool) Option

func WithHl

func WithHl(hl string) Option

func WithID

func WithID(id string) Option

func WithLanguage

func WithLanguage(language string) Option

func WithLicense

func WithLicense(license string) Option

func WithLocale

func WithLocale(locale string) Option

func WithMaxHeight

func WithMaxHeight(maxHeight int64) Option

func WithMaxResults

func WithMaxResults(maxResults int64) Option

func WithMaxWidth

func WithMaxWidth(maxWidth int64) Option

func WithNotifySubscribers

func WithNotifySubscribers(notifySubscribers bool) Option

func WithOnBehalfOfContentOwner

func WithOnBehalfOfContentOwner(onBehalfOfContentOwner string) Option

func WithOnBehalfOfContentOwnerChannel

func WithOnBehalfOfContentOwnerChannel(onBehalfOfContentOwnerChannel string) Option

func WithPlaylistId

func WithPlaylistId(playlistId string) Option

func WithPrivacy

func WithPrivacy(privacy string) Option

func WithPublicStatsViewable

func WithPublicStatsViewable(publicStatsViewable bool) Option

func WithPublishAt

func WithPublishAt(publishAt string) Option

func WithRating

func WithRating(rating string) Option

func WithReasonId

func WithReasonId(reasonId string) Option

func WithRegionCode

func WithRegionCode(regionCode string) Option

func WithSecondaryReasonId

func WithSecondaryReasonId(secondaryReasonId string) Option

func WithService

func WithService(svc *youtube.Service) Option

func WithStabilize

func WithStabilize(stabilize bool, changed bool) Option

func WithTags

func WithTags(tags []string) Option

func WithThumbnail

func WithThumbnail(thumbnail string) Option

func WithTitle

func WithTitle(title string) Option

type Video

type Video interface {
	List([]string, string)
	Insert(string)
	Update(string)
	Rate()
	GetRating()
	Delete()
	ReportAbuse()
	// contains filtered or unexported methods
}

func NewVideo

func NewVideo(opts ...Option) Video

Jump to

Keyboard shortcuts

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