Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPserver ¶
type HTTPserver struct {
// contains filtered or unexported fields
}
HTTPserver - new http.Server instance.
func NewServer ¶
func NewServer(a string) *HTTPserver
NewServer constractor generates a new HTTPserver type.
func (*HTTPserver) StartServer ¶
func (s *HTTPserver) StartServer(serverStarted chan<- struct{}, media, subtitles interface{}, tvpayload *soapcalls.TVPayload, screen Screen, ) error
StartServer will start a HTTP server to serve the selected media files and also handle the subscriptions requests from the DMR devices.
func (*HTTPserver) StopServer ¶
func (s *HTTPserver) StopServer()
StopServer forcefully closes the HTTP server.
Click to show internal directories.
Click to hide internal directories.