handler

package
v0.0.0-...-7b57e32 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthProbeHandler

func AuthProbeHandler(c *gin.Context)

func CORSHandler

func CORSHandler(c *gin.Context)

func CRSFHandler

func CRSFHandler(c *gin.Context)

func CacheHandler

func CacheHandler(c *gin.Context)

func CaptchaHandler

func CaptchaHandler(c *gin.Context)

func CategoryHandler

func CategoryHandler(c *gin.Context)

func ChangePasswordHandler

func ChangePasswordHandler(c *gin.Context)

func ChannelListHandler

func ChannelListHandler(c *gin.Context)

func DeleteChannelHandler

func DeleteChannelHandler(c *gin.Context)

func FetchHandler

func FetchHandler(c *gin.Context)

* fetch web content as a browser

func GetConfigHandler

func GetConfigHandler(c *gin.Context)

func IndexHandler

func IndexHandler(c *gin.Context)

func LiveHandler

func LiveHandler(c *gin.Context)

func LivePreHandler

func LivePreHandler(c *gin.Context)

func LogHandler

func LogHandler(c *gin.Context)

func LoginActionHandler

func LoginActionHandler(c *gin.Context)

func LoginViewHandler

func LoginViewHandler(c *gin.Context)

func LogoutHandler

func LogoutHandler(c *gin.Context)

func M3U8ProxyHandler

func M3U8ProxyHandler(c *gin.Context)

func M3UHandler

func M3UHandler(c *gin.Context)

func NewChannelHandler

func NewChannelHandler(c *gin.Context)

func PluginListHandler

func PluginListHandler(c *gin.Context)

func TXTHandler

func TXTHandler(c *gin.Context)

func TsProxyHandler

func TsProxyHandler(c *gin.Context)

func UpdateChannelHandler

func UpdateChannelHandler(c *gin.Context)

func UpdateConfigHandler

func UpdateConfigHandler(c *gin.Context)

Types

type Channel

type Channel struct {
	ID         string
	Name       string
	URL        string
	M3U8       string
	Proxy      bool
	TsProxy    string
	ProxyUrl   string
	Parser     string
	LastUpdate string
	Status     int
	Message    string
	Category   string
	Virtual    bool
	Children   []Channel `json:"children"`
}

type Config

type Config struct {
	BaseURL  string `json:"baseurl"`
	Cmd      string `json:"cmd"`
	Args     string `json:"args"`
	ApiKey   string `json:"apikey"`
	Secret   string `json:"secret"`
	ProxyURL string `json:"proxyurl"`
}

Jump to

Keyboard shortcuts

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