Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accessory ¶
type Accessory struct { Type string `json:"type,omitempty"` Text *AccessoryText `json:"text,omitempty"` Value string `json:"value,omitempty"` URL string `json:"url,omitempty"` ActionID string `json:"action_id,omitempty"` }
type AccessoryText ¶
type Composer ¶ added in v0.6.0
type Composer struct {
// contains filtered or unexported fields
}
Composer ...
func CreateComposer ¶ added in v0.6.0
CreateComposer ...
func (*Composer) Notify ¶ added in v0.6.0
func (s *Composer) Notify(ctx context.Context, opts application.NotifyOptions) error
type ComposerConfig ¶ added in v0.6.0
type ComposerConfig struct {
Notifiers map[string]application.Notifier
}
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
Slack ...
func CreateSlack ¶
CreateSlack ...
func (*Slack) Notify ¶
func (s *Slack) Notify(ctx context.Context, opts application.NotifyOptions) error
type SlackConfig ¶
type Webhook ¶ added in v0.6.0
type Webhook struct {
// contains filtered or unexported fields
}
Webhook ...
func CreateWebhook ¶ added in v0.6.0
CreateWebhook ...
func (*Webhook) Notify ¶ added in v0.6.0
func (s *Webhook) Notify(ctx context.Context, opts application.NotifyOptions) error
Click to show internal directories.
Click to hide internal directories.