Documentation
¶
Index ¶
- func RenderHeartbeats(w io.Writer, tmpl *template.Template, bumpURL string, mgr *heartbeat.Manager, ...) error
- func RenderHistory(w io.Writer, tmpl *template.Template, hist history.Store) error
- func RenderReceivers(w io.Writer, tmpl *template.Template, disp *notifier.Dispatcher) error
- type HeartbeatView
- type HistoryView
- type ReceiverView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderHeartbeats ¶
func RenderHeartbeats( w io.Writer, tmpl *template.Template, bumpURL string, mgr *heartbeat.Manager, hist history.Store, ) error
RenderHeartbeats builds HeartbeatView slice, sorts it, and executes the template.
func RenderHistory ¶
RenderHistory sorts events newest-first, builds the filter list, and executes the template.
func RenderReceivers ¶
RenderReceivers builds ReceiverView slice, sorts it by (ID,Type), and executes the template.
Types ¶
type HeartbeatView ¶
Click to show internal directories.
Click to hide internal directories.