internal

package
v0.0.0-...-9f2a875 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStreams

func GetStreams(cands []Stream) []string

func Login

func Login(username, secret string) ([]*http.Cookie, *string, error)

func Update

func Update(cc []*http.Cookie, id string, ss []string) error

Types

type Config

type Config struct {
	Credentials struct {
		Username string `yaml:"username"`
		Secret   string `yaml:"secret"`
	} `yaml:"credentials"`
	Streams []Stream `yaml:"streams"`
}

func LoadConfig

func LoadConfig() Config

type Stream

type Stream struct {
	Priority int
	URL      string
}

Jump to

Keyboard shortcuts

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