Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOauthToken ¶
func CreateOauthToken() error
CreateOauthToken requests oauth token and saves it to a file.
func UploadVideo ¶
func UploadVideo(v *VideoSetting) (string, error)
UploadVideo uploads a video to YouTube according to VideoSetting.
Types ¶
type VideoSetting ¶
type VideoSetting struct { Filename string Title string Description string // default is 22 Category string // separate by comma Keywords string // public, unlisted, and private Privacy string Language string }
VideoSetting setting the video info that will be shown or be configured on YouTube
Click to show internal directories.
Click to hide internal directories.