Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Speak(text string, language string) error Play(url string) error Stop() error GetStatus() (*controllers.MediaStatusResponse, error) SetVolume(vol string) error Close() CloseEvent() RunEventReceiver(notify chan struct{}) DebugStatus(status *controllers.MediaStatusResponse) }
Controller interface
func NewController ¶
func NewController( ctx context.Context, client *cast.Client, logger *zap.Logger, ) Controller
NewController returns Controller
Click to show internal directories.
Click to hide internal directories.