Documentation ¶
Index ¶
- func ContextHandler(s *Server, h echo.HandlerFunc) echo.HandlerFunc
- func HandleAlarmEvents(c echo.Context) error
- func HandleClock(c echo.Context) error
- func HandleMedia(c echo.Context) error
- func HandleMediaPlay(c echo.Context) error
- func HandleMediaStop(c echo.Context) error
- func HandleNewsFeed(c echo.Context) error
- func HandleRoot(c echo.Context) error
- func HandleSnooze(c echo.Context) error
- func Layout(content templ.Component, state int, ms *services.MediaState) templ.Component
- func Render(ctx echo.Context, status int, t templ.Component) error
- type ContextHandlerFunc
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextHandler ¶
func ContextHandler(s *Server, h echo.HandlerFunc) echo.HandlerFunc
func HandleAlarmEvents ¶
func HandleAlarmEvents(c echo.Context) error
func HandleClock ¶
func HandleClock(c echo.Context) error
func HandleMedia ¶
func HandleMedia(c echo.Context) error
func HandleMediaPlay ¶
func HandleMediaPlay(c echo.Context) error
func HandleMediaStop ¶
func HandleMediaStop(c echo.Context) error
func HandleNewsFeed ¶
func HandleNewsFeed(c echo.Context) error
func HandleRoot ¶
func HandleRoot(c echo.Context) error
func HandleSnooze ¶
func HandleSnooze(c echo.Context) error
Types ¶
type ContextHandlerFunc ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.