youtube

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthArgs added in v0.0.14

type AuthArgs struct {
	AuthToken string
}

type AuthResponse added in v0.0.14

type AuthResponse struct {
	HasAuth bool
}

type RemoveArgs added in v0.0.17

type RemoveArgs struct{}

type RemoveResponse added in v0.0.17

type RemoveResponse struct{}

type SignUpArgs added in v0.0.15

type SignUpArgs struct{}

type SignupResponse added in v0.0.15

type SignupResponse struct{}

type UploadResponse added in v0.0.14

type UploadResponse struct {
	Video youtube.Video
}

type YoutubeArgs

type YoutubeArgs struct {
	Title           string
	Description     string
	FilePath        string
	Keywords        string
	ThumbnailURL    string
	PublishAt       string //premiere date (default now)
	PublishType     string // 'private', 'public', or 'unlisted'
	MonetizationOff bool
	AuthToken       string
	ClaimName       string
	URI             string
}

type YoutubeService

type YoutubeService struct{}

func (*YoutubeService) HasAuth added in v0.0.14

func (t *YoutubeService) HasAuth(_ *http.Request, args *AuthArgs, reply *AuthResponse) error

func (*YoutubeService) Remove added in v0.0.17

func (t *YoutubeService) Remove(r *http.Request, args *RemoveArgs, reply *RemoveResponse) error

func (*YoutubeService) Signup added in v0.0.15

func (t *YoutubeService) Signup(_ *http.Request, _ *SignUpArgs, _ *SignupResponse) error

func (*YoutubeService) Upload

func (t *YoutubeService) Upload(_ *http.Request, args *YoutubeArgs, reply *UploadResponse) error

Jump to

Keyboard shortcuts

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