Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notification ¶
Notification represents a notification that we are sending to a list of maintainers indicating a commit is ready for their review and, hopefully, approval.
type Reviewer ¶
Reviewer represents a repository maintainer or contributor that is being notified of a commit to review.
type Sender ¶
type Sender interface {
Send(*Notification) error
}
Sender defines a notification provider that is capable of sending out notifications to a list of maintainers or reviewers. An example provider might be a Slack or GitHub bot.
func FromContext ¶
FromContext returns the Sender associated with this context.
Click to show internal directories.
Click to hide internal directories.