rollbar

package
v0.0.0-...-8dde4ce Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(ctx context.Context, token, environment, revision, user string) error

Deploy send deploy informations to rollbar

Types

type App

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

App of package

func New

func New(config Config) *App

New creates new App from Config

func (App) Error

func (a App) Error(content string)

Error send error message to rollbar

func (App) Flush

func (a App) Flush()

Flush wait for empty queues of message

func (App) Handler

func (a App) Handler(next http.Handler) http.Handler

Handler for net/http

func (App) Info

func (a App) Info(content string)

Info send info message to rollbar

func (App) Warn

func (a App) Warn(content string)

Warn send warning message to rollbar

type Config

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

Config of package

func Flags

func Flags(fs *flag.FlagSet, prefix string) Config

Flags adds flags for configuring package

Jump to

Keyboard shortcuts

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