internal

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: OSL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Forward = ForwardedFor{
	{"Argentina", "181.0.0.0"},
	{"Australia", "1.128.0.0"},
	{"Bolivia", "179.58.0.0"},
	{"Brazil", "189.0.0.0"},
	{"Canada", "99.224.0.0"},
	{"Chile", "191.112.0.0"},
	{"Colombia", "181.128.0.0"},
	{"Costa Rica", "201.192.0.0"},
	{"Denmark", "87.48.0.0"},
	{"Ecuador", "186.68.0.0"},
	{"Germany", "53.0.0.0"},
	{"Guatemala", "190.148.0.0"},
	{"Ireland", "87.32.0.0"},
	{"Italy", "79.0.0.0"},
	{"Mexico", "189.128.0.0"},
	{"Norway", "88.88.0.0"},
	{"Peru", "190.232.0.0"},
	{"South Africa", "41.0.0.0"},
	{"Spain", "88.0.0.0"},
	{"Sweden", "78.64.0.0"},
	{"United Kingdom", "25.0.0.0"},
	{"Venezuela", "186.88.0.0"},
}

Functions

This section is empty.

Types

type ForwardedFor added in v1.8.7

type ForwardedFor []struct {
	Country string
	IP      string
}

func (ForwardedFor) String added in v1.8.7

func (f ForwardedFor) String() string

type Stream added in v1.8.7

type Stream struct {
	ClientId   string
	PrivateKey string
	Name       encoding.Namer
	Poster     widevine.Poster
}

wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP

func (*Stream) DASH added in v1.8.7

func (s *Stream) DASH(req *http.Request) ([]*dash.Representation, error)

func (Stream) Download added in v1.8.7

func (s Stream) Download(rep *dash.Representation) error

func (Stream) TimedText added in v1.8.7

func (s Stream) TimedText(url string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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