Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMessagingFormat ¶
Types ¶
type Integration ¶
type Integration interface { // extras are additional fields that are not part of the message SendNotification(ctx context.Context, message string, extras map[string]interface{}) error ValidateConfig(*validator.Validate) error IsValidCredential(ctx context.Context) (bool, error) }
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.