channel

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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