pbs

package
v1.50.7 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: OSL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Object_Type string
	Slug        string
	Player_Code string
}

func (Asset) Widget added in v1.50.7

func (a Asset) Widget() (*Widget, error)

type Episode

type Episode struct {
	Assets []Asset
}

func (Episode) Asset added in v1.50.7

func (e Episode) Asset() *Asset

type Frontline added in v1.50.7

type Frontline struct {
	Graph []struct {
		Type     string `json:"@type"`
		EmbedURL string
	} `json:"@graph"`
}

func NewFrontline added in v1.50.7

func NewFrontline(addr string) (*Frontline, error)

func (Frontline) Widget added in v1.50.7

func (f Frontline) Widget() (*Widget, error)

type Masterpiece added in v1.50.7

type Masterpiece struct {
	EmbedURL string
}

func NewMasterpiece added in v1.50.7

func NewMasterpiece(addr string) (*Masterpiece, error)

func (Masterpiece) Widget added in v1.50.7

func (m Masterpiece) Widget() (*Widget, error)

type Nature added in v1.50.7

type Nature map[string]struct {
	Video_Iframe string
}

func NewNature added in v1.50.7

func NewNature(addr string) (*Nature, error)

func (Nature) Widget added in v1.50.7

func (n Nature) Widget() (*Widget, error)

type Nova added in v1.50.7

type Nova struct {
	Props struct {
		PageProps struct {
			IsEpisode Episode
			IsSeries  []struct {
				Episode Episode
				Slug    string
			}
		}
	}
	Query struct {
		Video string
	}
}

func NewNova added in v1.50.7

func NewNova(addr string) (*Nova, error)

func (Nova) Episode added in v1.50.7

func (n Nova) Episode() *Episode

type Video added in v1.37.6

type Video struct {
	ContentURL string
	Video      struct {
		ContentURL string
	}
}

func NewVideo added in v1.50.7

func NewVideo(addr string) (*Video, error)

func (Video) Widget added in v1.50.7

func (v Video) Widget() (*Widget, error)

type Widget added in v1.50.7

type Widget struct {
	Encodings []string
	Slug      string
}

func NewWidget added in v1.50.7

func NewWidget(addr *url.URL) (*Widget, error)

func (Widget) HLS added in v1.50.7

func (w Widget) HLS() string

func (Widget) Widget added in v1.50.7

func (w Widget) Widget() (*Widget, error)

type Widgeter added in v1.50.7

type Widgeter interface {
	Widget() (*Widget, error)
}

func NewWidgeter added in v1.50.7

func NewWidgeter(addr string) (Widgeter, error)

Jump to

Keyboard shortcuts

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