service

package
v0.0.0-...-b757ee5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteChannel

func DeleteChannel(id uint) error

func GetAllChannel

func GetAllChannel() (channels []model.Channel, err error)

func GetChannel

func GetChannel(channelNumber uint) (channel model.Channel, err error)

func GetConfig

func GetConfig(key string) (string, error)

func GetYoutubeLiveM3U8

func GetYoutubeLiveM3U8(youtubeURL string) (string, error)

func LoadChannelCache

func LoadChannelCache()

func M3U8Process

func M3U8Process(data string, prefixURL string) string

func M3UGenerate

func M3UGenerate() (string, error)

func RealGetYoutubeLiveM3U8

func RealGetYoutubeLiveM3U8(youtubeURL string) (string, error)

func SaveChannel

func SaveChannel(channel model.Channel) error

func SetConfig

func SetConfig(key, value string) error

func UpdateURLCache

func UpdateURLCache()

Types

This section is empty.

Jump to

Keyboard shortcuts

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