sentry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Protocol string
	Host     string
	Logger   *logging.Logger
	// contains filtered or unexported fields
}

func NewClient

func NewClient(baseUrl string, logger *logging.Logger) (client *Client, err error)

func (*Client) Send

func (c *Client) Send(msg Message) (err error)

type Message

type Message struct {
	Header string
	Body   string
}

type Worker

type Worker struct {
	SentryUrl string
	Queue     <-chan Message
	Logger    *logging.Logger
}

func NewWorker

func NewWorker(sentryUrl string, queue <-chan Message, logger *logging.Logger) *Worker

func (*Worker) Run

func (w *Worker) Run()

Jump to

Keyboard shortcuts

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