Documentation ¶
Index ¶
- type Library
- type Opts
- type Player
- type Queue
- type Service
- func (s *Service) AddReceiver(r receiver)
- func (s *Service) Enqueue(playerName string, opt client.EnqueueOpt) error
- func (s *Service) GetStream(ctx context.Context, opt client.GetStreamOpt) (io.ReadSeekCloser, error)
- func (s *Service) Pause(playerName string) error
- func (s *Service) Play(playerName string) error
- func (s *Service) Run(ctx context.Context) error
- func (s *Service) Seek(playerName string, opt client.SeekOpt) error
- func (s *Service) SkipBackward(playerName string) error
- func (s *Service) SkipForward(playerName string) error
- func (s *Service) Volume(playerName string, opt client.SetVolOpt) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddReceiver ¶
func (s *Service) AddReceiver(r receiver)
func (*Service) GetStream ¶
func (s *Service) GetStream(ctx context.Context, opt client.GetStreamOpt) (io.ReadSeekCloser, error)
func (*Service) SkipBackward ¶
func (*Service) SkipForward ¶
Click to show internal directories.
Click to hide internal directories.