Documentation ¶
Index ¶
- func GetComments(c echo.Context) error
- func GetIndex(c echo.Context) error
- func GetSecurityCode(c echo.Context) error
- func PostLive(c echo.Context) error
- func PostSecurityCode(c echo.Context) error
- func WebSocketComments(c echo.Context) error
- type Account
- type Announcement
- type Broadcast
- type Config
- type Encoder
- type IGTV
- type LoggerConfig
- type Logging
- type Server
- type StateContext
- type Stream
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComments ¶
func GetComments(c echo.Context) error
func GetSecurityCode ¶
func GetSecurityCode(c echo.Context) error
func PostSecurityCode ¶
func PostSecurityCode(c echo.Context) error
func WebSocketComments ¶
func WebSocketComments(c echo.Context) error
Types ¶
type Announcement ¶ added in v1.0.4
type Broadcast ¶
type Broadcast struct {
// contains filtered or unexported fields
}
func NewBroadcast ¶
func (*Broadcast) StartStreams ¶
func (*Broadcast) StopStreams ¶
type Config ¶
type Config struct { InputURL string `yaml:"input_url"` Accounts map[string]*Account `yaml:"accounts"` BindIP string `yaml:"bind_ip"` BindPort int `yaml:"bind_port"` Encoder Encoder `yaml:"encoder"` Title string `yaml:"title"` IGTV IGTV `yaml:"igtv"` Notify bool `yaml:"notify"` LogLevel string `yaml:"log_level"` PollInterval int `yaml:"poll_interval"` Logging Logging `yaml:"logging"` Announcement Announcement `yaml:"announcement"` // contains filtered or unexported fields }
func LoadConfig ¶
func (*Config) SaveConfig ¶
type LoggerConfig ¶
type StateContext ¶
type StateContext struct { echo.Context *Broadcast }
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) PutSecurityCode ¶
Click to show internal directories.
Click to hide internal directories.