Versions in this module Expand all Collapse all v0 v0.2.2 Feb 4, 2015 v0.2.1 Jan 28, 2015 Changes in this version + const DEBUG + const ERROR + const FATAL + const INFO + const WARNING + var ErrPacketDropped = errors.New("raven: packet dropped") + var MaxQueueBuffer = 100 + type Client struct + DropHandler func(*Packet) + Tags map[string]string + Transport Transport + func NewClient(dsn string, tags map[string]string) (*Client, error) + func (client *Client) Capture(packet *Packet, captureTags map[string]string) (eventID string, ch chan error) + func (client *Client) CaptureError(err error, tags map[string]string, interfaces ...Interface) string + func (client *Client) CaptureMessage(message string, tags map[string]string, interfaces ...Interface) string + func (client *Client) CapturePanic(f func(), tags map[string]string, interfaces ...Interface) + func (client *Client) Close() + func (client *Client) ProjectID() string + func (client *Client) Release() string + func (client *Client) SetDSN(dsn string) error + func (client *Client) SetRelease(release string) + func (client *Client) URL() string + type Culpriter interface + Culprit func() string + type Exception struct + Module string + Stacktrace *Stacktrace + Type string + Value string + func NewException(err error, stacktrace *Stacktrace) *Exception + func (e *Exception) Class() string + func (e *Exception) Culprit() string + type HTTPTransport struct + Http http.Client + func (t *HTTPTransport) Send(url, authHeader string, packet *Packet) error + type Http struct + Cookies string + Data interface{} + Env map[string]string + Headers map[string]string + Method string + Query string + URL string + func NewHttp(req *http.Request) *Http + func (h *Http) Class() string + type Interface interface + Class func() string + type Message struct + Message string + Params []interface{} + func (m *Message) Class() string + type Packet struct + Culprit string + EventID string + Extra map[string]interface{} + Interfaces []Interface + Level Severity + Logger string + Message string + Modules []map[string]string + Platform string + Project string + Release string + ServerName string + Tags Tags + Timestamp Timestamp + func NewPacket(message string, interfaces ...Interface) *Packet + func (packet *Packet) AddTags(tags map[string]string) + func (packet *Packet) Init(project string) error + func (packet *Packet) JSON() []byte + type Query struct + Engine string + Query string + func (q *Query) Class() string + type Severity string + type Stacktrace struct + Frames []*StacktraceFrame + func NewStacktrace(skip int, context int, appPackagePrefixes []string) *Stacktrace + func (s *Stacktrace) Class() string + func (s *Stacktrace) Culprit() string + type StacktraceFrame struct + AbsolutePath string + Colno int + ContextLine string + Filename string + Function string + InApp *bool + Lineno int + Module string + PostContext []string + PreContext []string + func NewStacktraceFrame(pc uintptr, file string, line, context int, appPackagePrefixes []string) *StacktraceFrame + type Tag struct + Key string + Value string + func (t *Tag) UnmarshalJSON(data []byte) error + func (tag *Tag) MarshalJSON() ([]byte, error) + type Tags []Tag + func (t *Tags) UnmarshalJSON(data []byte) error + type Template struct + AbsolutePath string + ContextLine string + Filename string + Lineno int + PostContext []string + PreContext []string + func (t *Template) Class() string + type Timestamp time.Time + func (t Timestamp) MarshalJSON() ([]byte, error) + func (timestamp *Timestamp) UnmarshalJSON(data []byte) error + type Transport interface + Send func(url, authHeader string, packet *Packet) error + type User struct + Email string + ID string + Username string + func (h *User) Class() string + type Writer struct + Client *Client + Level Severity + Logger string + func (w *Writer) Write(p []byte) (int, error)