model

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ID            int    `gorm:"primary_key"`
	ChannelID     string `gorm:"-:all"`
	Name          string
	URL           string
	Parser        string
	Proxy         bool
	TsProxy       string     // new field for customized live.ts server
	ProxyUrl      string     // proxy for server connection
	Token         string     `gorm:"-:all"`
	Category      string     `gorm:"index"`
	HasSubChannel bool       `gorm:"hassubchn"`
	Children      []*Channel `gorm: "-:all` // sub channel list
}

type Config

type Config struct {
	Name string `gorm:"primary_key"`
	Data string
}

type LiveInfo

type LiveInfo struct {
	LiveUrl   string
	ExtraInfo string
}

Jump to

Keyboard shortcuts

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