Documentation ¶
Index ¶
- type App
- func (_m *App) AddMessageFunc(f application.CastMessageFunc)
- func (_m *App) Close(stopMedia bool) error
- func (_m *App) Load(filenameOrUrl string, startTime int, contentType string, transcode bool, ...) error
- func (_m *App) LoadApp(appID string, contentID string) error
- func (_m *App) Next() error
- func (_m *App) Pause() error
- func (_m *App) PlayableMediaType(filename string) bool
- func (_m *App) PlayedItems() map[string]application.PlayedItem
- func (_m *App) Previous() error
- func (_m *App) QueueLoad(filenames []string, contentType string, transcode bool) error
- func (_m *App) Seek(value int) error
- func (_m *App) SeekFromStart(value int) error
- func (_m *App) SeekToTime(value float32) error
- func (_m *App) SetCacheDisabled(_a0 bool)
- func (_m *App) SetConn(conn cast.Conn)
- func (_m *App) SetConnectionRetries(_a0 int)
- func (_m *App) SetDebug(_a0 bool)
- func (_m *App) SetIface(_a0 *net.Interface)
- func (_m *App) SetMuted(value bool) error
- func (_m *App) SetServerPort(_a0 int)
- func (_m *App) SetVolume(value float32) error
- func (_m *App) Skipad() error
- func (_m *App) Slideshow(filenames []string, duration int, repeat bool) error
- func (_m *App) Start(addr string, port int) error
- func (_m *App) Status() (*cast.Application, *cast.Media, *cast.Volume)
- func (_m *App) Stop() error
- func (_m *App) StopMedia() error
- func (_m *App) Transcode(contentType string, command string, args ...string) error
- func (_m *App) Unpause() error
- func (_m *App) Update() error
- type ApplicationOption
- type CastMessageFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App is an autogenerated mock type for the App type
func NewApp ¶
func NewApp(t mockConstructorTestingTNewApp) *App
NewApp creates a new instance of App. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*App) AddMessageFunc ¶
func (_m *App) AddMessageFunc(f application.CastMessageFunc)
AddMessageFunc provides a mock function with given fields: f
func (*App) Load ¶
func (_m *App) Load(filenameOrUrl string, startTime int, contentType string, transcode bool, detach bool, forceDetach bool) error
Load provides a mock function with given fields: filenameOrUrl, contentType, transcode, detach, forceDetach
func (*App) PlayableMediaType ¶
PlayableMediaType provides a mock function with given fields: filename
func (*App) PlayedItems ¶
func (_m *App) PlayedItems() map[string]application.PlayedItem
PlayedItems provides a mock function with given fields:
func (*App) QueueLoad ¶
QueueLoad provides a mock function with given fields: filenames, contentType, transcode
func (*App) SeekFromStart ¶
SeekFromStart provides a mock function with given fields: value
func (*App) SeekToTime ¶
SeekToTime provides a mock function with given fields: value
func (*App) SetCacheDisabled ¶
SetCacheDisabled provides a mock function with given fields: _a0
func (*App) SetConnectionRetries ¶
SetConnectionRetries provides a mock function with given fields: _a0
func (*App) SetServerPort ¶
SetServerPort provides a mock function with given fields: _a0
func (*App) Slideshow ¶
Slideshow provides a mock function with given fields: filenames, duration, repeat
func (*App) Transcode ¶
Transcode provides a mock function with given fields: contentType, command, args
type ApplicationOption ¶
ApplicationOption is an autogenerated mock type for the ApplicationOption type
func NewApplicationOption ¶
func NewApplicationOption(t mockConstructorTestingTNewApplicationOption) *ApplicationOption
NewApplicationOption creates a new instance of ApplicationOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ApplicationOption) Execute ¶
func (_m *ApplicationOption) Execute(_a0 *application.Application)
Execute provides a mock function with given fields: _a0
type CastMessageFunc ¶
CastMessageFunc is an autogenerated mock type for the CastMessageFunc type
func NewCastMessageFunc ¶
func NewCastMessageFunc(t mockConstructorTestingTNewCastMessageFunc) *CastMessageFunc
NewCastMessageFunc creates a new instance of CastMessageFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CastMessageFunc) Execute ¶
func (_m *CastMessageFunc) Execute(_a0 *api.CastMessage)
Execute provides a mock function with given fields: _a0