Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProviderTypeSlack = "slack"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Notify([]domain.Notification) []error
}
type Config ¶
type Config struct { Provider string `mapstructure:"provider" validate:"omitempty,oneof=slack"` // slack Workspaces []slack.SlackWorkspace `mapstructure:"workspaces" validate:"required_if=Provider slack,dive"` // custom messages Messages domain.NotificationMessages }
Click to show internal directories.
Click to hide internal directories.