provider

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Slack   []*slack.Options   `mapstructure:"slack,omitempty"`
	SNS     []*sns.Options     `mapstructure:"sns,omitempty"`
	Teams   []*teams.Options   `mapstructure:"teams,omitempty"`
	Webhook []*webhook.Options `mapstructure:"webhook,omitempty"`
}

type Provider

type Provider interface {
	Send(ctx context.Context, message string, extras map[string]string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL