model

package
v0.0.0-...-8c9abf5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeConfig

func InitializeConfig(c *cli.Context)

Types

type Config

type Config struct {
	Prefetch          bool
	SegmentCount      int
	Throttle          int
	Attempts          int
	ClipRetention     time.Duration
	PlaylistRetention time.Duration
	JanitorInterval   time.Duration
	UseHttps          bool
	DecryptSegments   bool
	Host              string
	Port              string
}
var (
	Configuration Config
)

type Input

type Input struct {
	Url string

	Referer string

	Origin string
}

Struct for the input parameters supported by the proxy

Jump to

Keyboard shortcuts

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