ytupdates

package
v0.0.0-...-e550578 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessUpdate

func ProcessUpdate(contentType string, body []byte)

ProcessUpdate - YouTube push-notifications handler func

Types

type YTFeed

type YTFeed struct {
	Video struct {
		ID         string `xml:"yt:videoId"`
		ChannelID  int64  `xml:"yt:channelId"`
		VideoTitle string `xml:"title"`
		URL        string `xml:"link"`
	} `xml:"entry"`
}

YTFeed is a yt feed representation

Jump to

Keyboard shortcuts

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