Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMessagingFormat ¶
func SupportsSummaryLink ¶
Types ¶
type Integration ¶
type Integration interface { // extras are additional fields that are not part of the message // if SendSummaryLink is true then message array is expected to be scan summay SendNotification(ctx context.Context, message []map[string]interface{}, extras map[string]interface{}) error ValidateConfig(*validator.Validate) error IsValidCredential(ctx context.Context) (bool, error) SendSummaryLink() bool }
Integration is the interface for all integrations
func GetIntegration ¶
GetIntegration returns an integration object based on the integration type
Click to show internal directories.
Click to hide internal directories.