sns

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(arn string, sopts session.Options) (*Builder, errors.Error)

func (*Builder) Build

func (b *Builder) Build() *SNS

func (*Builder) WithEnvironment

func (b *Builder) WithEnvironment(environment string) *Builder

func (*Builder) WithRelease

func (b *Builder) WithRelease(release string) *Builder

type Capturer

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

func (*Capturer) Capture

func (c *Capturer) Capture(err error) trackers.Reporter

func (Capturer) CaptureMessage

func (c Capturer) CaptureMessage(message string) trackers.Reporter

func (*Capturer) Middleware

func (c *Capturer) Middleware() trackers.Middleware

func (*Capturer) Try

func (c *Capturer) Try(ctx context.Context, fn func(ctx context.Context)) (rv interface{})

func (Capturer) WithAppPackages

func (c Capturer) WithAppPackages(packages []string) trackers.Capturer

func (Capturer) WithNewTrace

func (c Capturer) WithNewTrace() trackers.Capturer

func (Capturer) WithTags

func (c Capturer) WithTags(tags ...trackers.Tag) trackers.Capturer

func (Capturer) WithUser

func (c Capturer) WithUser(u trackers.User) trackers.Capturer

type Middleware

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

func (Middleware) WithTags

func (m Middleware) WithTags(tags ...trackers.Tag) trackers.Middleware

func (Middleware) WithUser

func (m Middleware) WithUser(u trackers.User) trackers.Middleware

func (Middleware) Wrap

func (m Middleware) Wrap(target http.Handler) http.Handler

type Reporter

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

func (Reporter) AsWarning

func (r Reporter) AsWarning() trackers.Reporter

func (Reporter) Report

func (r Reporter) Report(ctx context.Context) <-chan error

func (Reporter) ReportSync

func (r Reporter) ReportSync(ctx context.Context) error

func (Reporter) WithNewTrace

func (r Reporter) WithNewTrace() trackers.Reporter

func (Reporter) WithTags

func (r Reporter) WithTags(tags ...trackers.Tag) trackers.Reporter

func (Reporter) WithTrace

func (r Reporter) WithTrace(t *trackers.Trace) trackers.Reporter

type SNS

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

func (SNS) NewCapturer

func (s SNS) NewCapturer() trackers.Capturer

Jump to

Keyboard shortcuts

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