Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Notification ¶
type Notification struct {
Hook string
}
func (*Notification) SendFailedMsg ¶
func (n *Notification) SendFailedMsg(ctx context.Context) error
func (*Notification) SendInProgressMsg ¶
func (n *Notification) SendInProgressMsg(ctx context.Context) error
func (*Notification) SendSucceededMsg ¶
func (n *Notification) SendSucceededMsg(ctx context.Context) error
type Webhook ¶
type Webhook struct {
Attachments []Attachment `json:"attachments,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.