net

package module
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: OSL-3.0 Imports: 19 Imported by: 0

README

net

interface for network I/O

https://41.neocities.org/net

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Representations added in v1.16.1

func Representations(mpd *url.URL, mpdBody []byte) error

Representations parses the MPD, calculates the true bitrate for the middle representation of each group, and prints them in sorted order.

func Transport added in v1.7.5

func Transport(policy func(*http.Request) string)

github.com/golang/go/issues/25793

Types

type Config added in v1.9.3

type Config struct {
	Send             func([]byte) ([]byte, error)
	Threads          int
	CertificateChain string
	EncryptSignKey   string
	ClientId         string
	PrivateKey       string
	DecryptionKey    string
}

Config holds downloader configuration

func (*Config) Download added in v1.12.2

func (c *Config) Download(mpd *url.URL, mpdBody []byte, key string) error

Download retrieves the specific group of Representations from the MPD using the ID key (which may be a simplified sequence number "0", "1"...).

Jump to

Keyboard shortcuts

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