Documentation ¶ Index ¶ Variables func Handler(w http.ResponseWriter, r *http.Request) type Channel func New(service *youtube.Service, ctx context.Context, id string) Channel func (p Channel) Feed(disableIframe bool) (*feeds.Feed, error) func (p Channel) Meta() (*youtube.Channel, error) Constants ¶ This section is empty. Variables ¶ View Source var ErrInvalid = errors.New("invalid channel") Functions ¶ func Handler ¶ func Handler(w http.ResponseWriter, r *http.Request) Types ¶ type Channel ¶ type Channel struct { Service *youtube.Service Context context.Context Id string } func New ¶ func New(service *youtube.Service, ctx context.Context, id string) Channel func (Channel) Feed ¶ func (p Channel) Feed(disableIframe bool) (*feeds.Feed, error) func (Channel) Meta ¶ func (p Channel) Meta() (*youtube.Channel, error) Source Files ¶ View all Source files channel.go handler.go Click to show internal directories. Click to hide internal directories.