Documentation ¶
Index ¶
- func DeleteChannel(id uint) error
- func GetAllChannel() (channels []model.Channel, err error)
- func GetChannel(channelNumber uint) (channel model.Channel, err error)
- func GetConfig(key string) (string, error)
- func GetYoutubeLiveM3U8(youtubeURL string) (string, error)
- func LoadChannelCache()
- func M3U8Process(data string, prefixURL string) string
- func M3UGenerate() (string, error)
- func RealGetYoutubeLiveM3U8(youtubeURL string) (string, error)
- func SaveChannel(channel model.Channel) error
- func SetConfig(key, value string) error
- func UpdateURLCache()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteChannel ¶
func GetAllChannel ¶
func GetYoutubeLiveM3U8 ¶
func LoadChannelCache ¶
func LoadChannelCache()
func M3U8Process ¶
func M3UGenerate ¶
func RealGetYoutubeLiveM3U8 ¶
func SaveChannel ¶
func UpdateURLCache ¶
func UpdateURLCache()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.