integrations

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateMessageOptions

type GenerateMessageOptions struct {
	// For integration name, i.e. Slack.
	For string
}

type IIntegration

type IIntegration interface {
	Name() string
	Enabled(config.Integrations) bool
	Validate(config.Integrations) error
	Load(config.Integrations) error
	GenerateSlackMessage(GenerateMessageOptions) (*slack.WebhookMessage, error)
}

type Integration added in v0.0.3

type Integration struct {
	Validated bool
	Loaded    bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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