internal

package
v1.9.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Forward = ForwardedFor{
	{"Argentina", "186.128.0.0"},
	{"Australia", "1.128.0.0"},
	{"Bolivia", "179.58.0.0"},
	{"Brazil", "179.192.0.0"},
	{"Canada", "99.224.0.0"},
	{"Chile", "191.112.0.0"},
	{"Colombia", "181.128.0.0"},
	{"Costa Rica", "201.192.0.0"},
	{"Denmark", "2.104.0.0"},
	{"Ecuador", "186.68.0.0"},
	{"Egypt", "197.32.0.0"},
	{"Germany", "53.0.0.0"},
	{"Guatemala", "190.56.0.0"},
	{"India", "106.192.0.0"},
	{"Indonesia", "39.192.0.0"},
	{"Ireland", "87.32.0.0"},
	{"Italy", "79.0.0.0"},
	{"Latvia", "78.84.0.0"},
	{"Malaysia", "175.136.0.0"},
	{"Mexico", "189.128.0.0"},
	{"Netherlands", "145.160.0.0"},
	{"New Zealand", "49.224.0.0"},
	{"Norway", "88.88.0.0"},
	{"Peru", "190.232.0.0"},
	{"Russia", "95.24.0.0"},
	{"South Africa", "105.0.0.0"},
	{"South Korea", "175.192.0.0"},
	{"Spain", "88.0.0.0"},
	{"Sweden", "78.64.0.0"},
	{"Taiwan", "120.96.0.0"},
	{"United Kingdom", "25.0.0.0"},
	{"Venezuela", "190.72.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