alerts

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerts

type Alerts struct {
	// contains filtered or unexported fields
}

func NewAlerts

func NewAlerts(fn DelegateFunc, opts Options) *Alerts

func (*Alerts) NewCapturer

func (a *Alerts) NewCapturer() trackers.Capturer

type Delegate

type Delegate interface {
	NewCapturer() trackers.Capturer
}

func NoDelegate

func NoDelegate(opts Options) Delegate

type DelegateFunc

type DelegateFunc func(opts Options) Delegate

func DelegateToPassthrough

func DelegateToPassthrough() (DelegateFunc, errors.Error)

func DelegateToSNS

func DelegateToSNS(arn string, sopts session.Options) (DelegateFunc, errors.Error)

func DelegateToSentry

func DelegateToSentry(dsn string) (DelegateFunc, errors.Error)

type Options

type Options struct {
	Environment string
	Version     string
}

Directories

Path Synopsis
internal
sns

Jump to

Keyboard shortcuts

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