youtube

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Msg string

	IsFinished   bool
	IsFatalError bool
}

Message is used in Download function

type Video

type Video struct {
	Author       string
	Title        string
	Filename     string
	Description  string
	ThumbnailURL string
	// contains filtered or unexported fields
}

func NewVideo

func NewVideo(id string) (*Video, error)

func (*Video) Download

func (v *Video) Download() <-chan Message

Download downloads video and thumbnail The last Message has IsFinished == true or IsFatalError == true

Jump to

Keyboard shortcuts

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