Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Profiles []Profile `json:"profiles"`
}
func (*Config) DecrypterInstall ¶
func (*Config) DecrypterUninstall ¶
func (*Config) SelectDecrypter ¶
type Decrypter ¶
type Decrypter struct { Type string `json:"type"` Properties Properties `json:"properties"` }
func NewDecrypter ¶
func NewDecrypter(Type string, properties Properties) *Decrypter
type M3u8URL ¶
type M3u8URL struct { Encrypted string `json:"encrypted" form:"encrypted"` PlainURL string `json:"plain_url" form:"plain_url"` TsURLPart TsURLPart `json:"ts_url_part" form:"ts_url_part"` }
func NewM3u8URL ¶
type Properties ¶
type Properties struct { Cmd []string `json:"cmd,omitempty" yaml:"cmd,omitempty"` BaseURL string `json:"baseURL,omitempty" yaml:"baseURL,omitempty"` Token string `json:"token,omitempty" yaml:"token,omitempty"` }
func (*Properties) String ¶
func (p *Properties) String() string
Click to show internal directories.
Click to hide internal directories.