Documentation
¶
Index ¶
- type CommandPlayResponse
- type Service
- type ServiceImpl
- func (s *ServiceImpl) ChangeDefaultDeviceAndChannel(isInput bool, deviceID int, channel int) error
- func (s *ServiceImpl) CommandEvaluate(file string, lineEnd int, source string) (any, error)
- func (s *ServiceImpl) CommandHover(source string) string
- func (s *ServiceImpl) CommandInspect(file string, lineEnd int, source string) (any, error)
- func (s *ServiceImpl) CommandKill() error
- func (s *ServiceImpl) CommandMIDISample(filename string, lineEnd int, source string) ([]byte, error)
- func (s *ServiceImpl) CommandPlay(file string, lineEnd int, source string) (CommandPlayResponse, error)
- func (s *ServiceImpl) CommandStop(file string, lineEnd int, source string) (any, error)
- func (s *ServiceImpl) Context() core.Context
- func (s *ServiceImpl) ListDevices() []core.DeviceDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandPlayResponse ¶ added in v0.55.2
type Service ¶
type Service interface {
Context() core.Context
CommandInspect(file string, lineEnd int, source string) (any, error)
CommandPlay(file string, lineEnd int, source string) (CommandPlayResponse, error)
CommandStop(file string, lineEnd int, source string) (any, error)
CommandEvaluate(file string, lineEnd int, source string) (any, error)
CommandKill() error
CommandHover(source string) string
ChangeDefaultDeviceAndChannel(isInput bool, deviceID int, channel int) error
CommandMIDISample(file string, lineEnd int, source string) ([]byte, error)
ListDevices() []core.DeviceDescriptor
}
func NewService ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func (*ServiceImpl) ChangeDefaultDeviceAndChannel ¶
func (s *ServiceImpl) ChangeDefaultDeviceAndChannel(isInput bool, deviceID int, channel int) error
func (*ServiceImpl) CommandEvaluate ¶
func (*ServiceImpl) CommandHover ¶
func (s *ServiceImpl) CommandHover(source string) string
func (*ServiceImpl) CommandInspect ¶
func (*ServiceImpl) CommandKill ¶
func (s *ServiceImpl) CommandKill() error
func (*ServiceImpl) CommandMIDISample ¶
func (*ServiceImpl) CommandPlay ¶
func (s *ServiceImpl) CommandPlay(file string, lineEnd int, source string) (CommandPlayResponse, error)
func (*ServiceImpl) CommandStop ¶
func (*ServiceImpl) Context ¶
func (s *ServiceImpl) Context() core.Context
func (*ServiceImpl) ListDevices ¶ added in v0.58.0
func (s *ServiceImpl) ListDevices() []core.DeviceDescriptor
Click to show internal directories.
Click to hide internal directories.