noopreporter

package
v0.0.0-...-f5e4a23 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package noopreporter is a no-op implementation of a Reporter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator struct{}

Creator is a Creator used to get no-op reporter

func NewCreator

func NewCreator() (*Creator, error)

NewCreator creates a client's creator

func (*Creator) New

func (c *Creator) New() (reporter.Reporter, error)

New returns a new mailer Reporter

type Reporter

type Reporter struct {
}

Reporter represents reporter that does nothin

func New

func New() (*Reporter, error)

New creates a new Mailer reporter

func (*Reporter) AddTag

func (r *Reporter) AddTag(key, value string)

AddTag does nothing

func (*Reporter) AddTags

func (r *Reporter) AddTags(tags map[string]string)

AddTags does nothing

func (*Reporter) ReportError

func (r *Reporter) ReportError(err error)

ReportError does nothing

func (*Reporter) ReportErrorAndWait

func (r *Reporter) ReportErrorAndWait(err error)

ReportErrorAndWait does nothing

func (*Reporter) SetUser

func (r *Reporter) SetUser(u *reporter.User)

SetUser does nothing

Jump to

Keyboard shortcuts

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