pbs

package
v1.37.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: OSL-3.0 Imports: 7 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Resource struct {
		Duration   Duration
		MP4_Videos []Video
		Title      string
	}
}

func NewAsset

func NewAsset(slug string) (*Asset, error)

type Duration added in v1.37.6

type Duration int64

func (Duration) String added in v1.37.6

func (d Duration) String() string

type Episode

type Episode struct {
	Episode struct {
		Assets []struct {
			Object_Type string
			Slug        string
		}
	}
	Slug string
}

func NewEpisode

func NewEpisode(addr string) (*Episode, error)

func (Episode) FullLength added in v1.37.6

func (e Episode) FullLength() (*Asset, error)

type Progress added in v1.37.6

type Progress struct {
	*http.Response
	// contains filtered or unexported fields
}

func NewProgress added in v1.37.6

func NewProgress(res *http.Response) *Progress

func (*Progress) Read added in v1.37.6

func (p *Progress) Read(buf []byte) (int, error)

type Video added in v1.37.6

type Video struct {
	Profile string
	URL     string
}

Jump to

Keyboard shortcuts

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