Documentation ¶
Overview ¶
Code generated by vite from client-bundle DO NOT EDIT.
Index ¶
- func EmptyRun(id string) templ.Component
- func Event(n *notification.Notification) templ.Component
- func EventList(notifs [][]*notification.Notification) templ.Component
- func New(cfg config.Config, db Database, callbackFn notification.NotificationCallback) (*server, error)
- func SearchNoResults() templ.Component
- func SearchSelect(runs []*notification.Notification, currentRun string) templ.Component
- type Database
- type SSEEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Event ¶
func Event(n *notification.Notification) templ.Component
func EventList ¶
func EventList(notifs [][]*notification.Notification) templ.Component
func New ¶
func New(cfg config.Config, db Database, callbackFn notification.NotificationCallback) (*server, error)
func SearchNoResults ¶ added in v0.5.5
func SearchSelect ¶ added in v0.5.5
func SearchSelect(runs []*notification.Notification, currentRun string) templ.Component
Types ¶
type Database ¶ added in v0.6.2
type Database interface { FindNotifications(runID, stm, filter string) ([][]*notification.Notification, error) FindRuns() ([]*notification.Notification, error) }
Click to show internal directories.
Click to hide internal directories.