Documentation ¶
Overview ¶
Package component contains individual components that can render themselves as HTML.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct {
notifications.Notification
}
Notification component for display purposes.
func (Notification) Render ¶
func (n Notification) Render() []*html.Node
type NotificationsByRepo ¶
type NotificationsByRepo struct {
Notifications notifications.Notifications
}
NotificationsByRepo component displays notifications grouped by repos.
func (NotificationsByRepo) Render ¶
func (a NotificationsByRepo) Render() []*html.Node
type RepoNotifications ¶
type RepoNotifications struct { Repo notifications.RepoSpec Notifications []Notification // contains filtered or unexported fields }
RepoNotifications component is a collection of notifications for the same repo.
func (RepoNotifications) Render ¶
func (r RepoNotifications) Render() []*html.Node
Click to show internal directories.
Click to hide internal directories.