openfest-video/break_player/mainservice/mainservice.go

17 lines
275 B
Go
Raw Normal View History

2024-10-05 14:54:15 +03:00
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
}