Documentation
¶
Index ¶
- type Sources
- func (s *Sources) Active() bool
- func (s *Sources) AddSource(entry m3uparser.M3UEntry, timeout int) (bool, error)
- func (s *Sources) Diagnostic() SourcesDiag
- func (s *Sources) GetActiveSource() types.StreamSource
- func (s *Sources) HealthCheck() error
- func (s *Sources) IsRadio() bool
- func (s *Sources) M3UTags() m3uparser.M3UTags
- func (s *Sources) MasterPlaylist() string
- func (s *Sources) MediaName() string
- func (s *Sources) ServeManifest(w http.ResponseWriter, r *http.Request, timeout int)
- func (s *Sources) ServeMedia(w http.ResponseWriter, r *http.Request, timeout int)
- func (s *Sources) SourceExists(entry m3uparser.M3UEntry) bool
- type SourcesDiag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sources ¶
type Sources struct {
// contains filtered or unexported fields
}
func NewSources ¶
func NewSources() Sources
func (*Sources) Diagnostic ¶
func (s *Sources) Diagnostic() SourcesDiag
func (*Sources) GetActiveSource ¶
func (s *Sources) GetActiveSource() types.StreamSource
func (*Sources) HealthCheck ¶
func (*Sources) MasterPlaylist ¶
func (*Sources) ServeManifest ¶
func (*Sources) ServeMedia ¶
type SourcesDiag ¶
type SourcesDiag struct {
Sources []types.StreamSourceDiag `json:"sources"`
}
Click to show internal directories.
Click to hide internal directories.