Documentation ¶
Index ¶
- func NewSpotifyScreen(cfg config.ConfigFile) display.Screen
- func NewWifiQRCode(cfg config.ConfigFile) display.Screen
- type Spotify
- func (s *Spotify) GetConfig() map[string]string
- func (s *Spotify) GetHTMLPage() (attrs []display.HTMLAttribute)
- func (s *Spotify) Init(r *gin.RouterGroup) (name string, err error)
- func (s *Spotify) Render() (img image.Image, dur time.Duration, err error)
- func (s *Spotify) UpdateConfig(m map[string]string) error
- type WifiQRCode
- func (w *WifiQRCode) GetConfig() map[string]string
- func (w *WifiQRCode) GetHTMLPage() (attrs []display.HTMLAttribute)
- func (w *WifiQRCode) Init(r *gin.RouterGroup) (name string, err error)
- func (w *WifiQRCode) Render() (img image.Image, dur time.Duration, err error)
- func (w *WifiQRCode) UpdateConfig(m map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpotifyScreen ¶
func NewSpotifyScreen(cfg config.ConfigFile) display.Screen
func NewWifiQRCode ¶
func NewWifiQRCode(cfg config.ConfigFile) display.Screen
Types ¶
type Spotify ¶
type Spotify struct {
// contains filtered or unexported fields
}
func (*Spotify) GetHTMLPage ¶
func (s *Spotify) GetHTMLPage() (attrs []display.HTMLAttribute)
type WifiQRCode ¶
type WifiQRCode struct {
// contains filtered or unexported fields
}
func (*WifiQRCode) GetConfig ¶
func (w *WifiQRCode) GetConfig() map[string]string
func (*WifiQRCode) GetHTMLPage ¶
func (w *WifiQRCode) GetHTMLPage() (attrs []display.HTMLAttribute)
func (*WifiQRCode) Init ¶
func (w *WifiQRCode) Init(r *gin.RouterGroup) (name string, err error)
func (*WifiQRCode) UpdateConfig ¶
func (w *WifiQRCode) UpdateConfig(m map[string]string) error
Click to show internal directories.
Click to hide internal directories.