Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyAll ¶
func NotifyAll(cfg *config.NotificationConfig, summary *SyncSummary) error
Types ¶
type GotifyProvider ¶
type GotifyProvider struct {
// contains filtered or unexported fields
}
func NewGotifyProvider ¶
func NewGotifyProvider(cfg *config.GotifyConfig) *GotifyProvider
func (*GotifyProvider) Send ¶
func (g *GotifyProvider) Send(title, message string) error
type NotificationProvider ¶
type NtfyProvider ¶
type NtfyProvider struct {
// contains filtered or unexported fields
}
func NewNtfyProvider ¶
func NewNtfyProvider(cfg *config.NtfyConfig) *NtfyProvider
func (*NtfyProvider) Send ¶
func (n *NtfyProvider) Send(title, message string) error
type SyncSummary ¶
type SyncSummary struct { ReposSuccess int ReposFailed []string WikisSuccess int WikisFailed []string }
func (*SyncSummary) FormatMessage ¶
func (s *SyncSummary) FormatMessage() string
func (*SyncSummary) HasFailures ¶
func (s *SyncSummary) HasFailures() bool
Click to show internal directories.
Click to hide internal directories.