openfest-video/break_player/mainservice/mainservice.go

17 lines
275 B
Go

package mainservice
type MainService struct {
}
func New(configFileName string) (*MainService, error) {
// parse config
return nil, nil
}
func (s *MainService) Serve() error {
// start web server in goroutine
// start mpvipc in another goroutine
// go!
return nil
}