Documentation ¶
Index ¶
- func RegisterBaseModules()
- func RegisterCounter() handlers.Module
- func RegisterGif() handlers.Module
- func RegisterSpotify() handlers.Module
- func RegisterTime() handlers.Module
- type Connection
- type CounterIconHandler
- type CounterKeyHandler
- type GifIconHandler
- type SpotifyIconHandler
- type TimeIconHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBaseModules ¶
func RegisterBaseModules()
func RegisterCounter ¶
func RegisterGif ¶
func RegisterSpotify ¶
func RegisterTime ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func Connect ¶
func Connect() (*Connection, error)
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) GetAlbumArtUrl ¶
func (c *Connection) GetAlbumArtUrl() (string, error)
type CounterIconHandler ¶
func (*CounterIconHandler) IsRunning ¶
func (c *CounterIconHandler) IsRunning() bool
func (*CounterIconHandler) SetRunning ¶
func (c *CounterIconHandler) SetRunning(running bool)
func (*CounterIconHandler) Start ¶
func (c *CounterIconHandler) Start(k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (CounterIconHandler) Stop ¶
func (c CounterIconHandler) Stop()
type CounterKeyHandler ¶
type CounterKeyHandler struct{}
func (CounterKeyHandler) Key ¶
func (CounterKeyHandler) Key(key api.Key, info api.StreamDeckInfo)
type GifIconHandler ¶
func (*GifIconHandler) IsRunning ¶
func (s *GifIconHandler) IsRunning() bool
func (*GifIconHandler) SetRunning ¶
func (s *GifIconHandler) SetRunning(running bool)
func (*GifIconHandler) Start ¶
func (s *GifIconHandler) Start(key api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*GifIconHandler) Stop ¶
func (s *GifIconHandler) Stop()
type SpotifyIconHandler ¶
type SpotifyIconHandler struct { Running bool Quit chan bool // contains filtered or unexported fields }
func (*SpotifyIconHandler) IsRunning ¶
func (s *SpotifyIconHandler) IsRunning() bool
func (*SpotifyIconHandler) SetRunning ¶
func (s *SpotifyIconHandler) SetRunning(running bool)
func (*SpotifyIconHandler) Start ¶
func (s *SpotifyIconHandler) Start(key api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*SpotifyIconHandler) Stop ¶
func (s *SpotifyIconHandler) Stop()
type TimeIconHandler ¶
func (*TimeIconHandler) IsRunning ¶
func (t *TimeIconHandler) IsRunning() bool
func (*TimeIconHandler) SetRunning ¶
func (t *TimeIconHandler) SetRunning(running bool)
func (*TimeIconHandler) Start ¶
func (t *TimeIconHandler) Start(k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*TimeIconHandler) Stop ¶
func (t *TimeIconHandler) Stop()
Click to show internal directories.
Click to hide internal directories.