Documentation
¶
Overview ¶
Package notification re-exports the GitHub Pages publisher from the internal notification package so that packages outside cmd/server (such as the CLI) can use it without violating Go's internal-package import restrictions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubPagesPublisher ¶
type GitHubPagesPublisher = internal.GitHubPagesPublisher
GitHubPagesPublisher is a type alias for the internal publisher; the two types are identical and their methods are fully interchangeable.
func NewGitHubPagesPublisher ¶
func NewGitHubPagesPublisher(cfg models.GitHubPagesNotificationConfig) *GitHubPagesPublisher
NewGitHubPagesPublisher delegates to the internal constructor.
type PublishProgress ¶ added in v0.2.0
type PublishProgress = internal.PublishProgress
PublishProgress is a type alias for the internal progress sink so CLI callers can implement it and pass it to (*GitHubPagesPublisher).SetProgress.
Click to show internal directories.
Click to hide internal directories.