goebi

package
v0.0.0-...-d2311c1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotice

func NewNotice(err interface{}) *notice.Notice

NewNotice エラー通知内容を作成します

func NewNoticeWithFilter

func NewNoticeWithFilter(err interface{}, filter StackFilterFunc) *notice.Notice

NewNoticeWithFilter StackFilterを指定してエラー通知内容を作ります

Types

type Client

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

Client is an errbit client.

func New

func New(opt Options) *Client

New errbitのClientを生成します

func (Client) SendNotice

func (c Client) SendNotice(n notice.Notice) error

SendNotice エラー通知します

type Options

type Options struct {
	// Host (required) hostName example `http://localhost:3000`
	Host string
	// ProjectID is found AirBrake.io in the URL.
	ProjectID string
	// ApiPath apiPath example `/api/v3/projects`
	APIPath string
	// ApiKey (required) apiKey is issued when you register the app to errbit.
	APIKey string
}

Options goebi Client options

type StackFilterFunc

type StackFilterFunc func(file string, line int, packageName, funcName string) bool

StackFilterFunc stackTraceのFilter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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