Documentation ¶
Index ¶
Constants ¶
View Source
const (
UDP_TEMPLATE = "%s\n\n%s"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { URL *url.URL PublicKey string SecretKey string Project string Logger string // contains filtered or unexported fields }
func NewClient ¶
NewClient creates a new client for a server identified by the given dsn A dsn is a string in the form:
{PROTOCOL}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}/{PATH}{PROJECT_ID}
eg:
http://abcd:efgh@sentry.example.com/sentry/project1
func (*Client) CaptureMessage ¶
CaptureMessage sends a message to the Sentry server.
type HttpClient ¶
type HttpSentryTransport ¶
type HttpSentryTransport struct { PublicKey string URL *url.URL Project string Client HttpClient }
type SentryTransport ¶
Click to show internal directories.
Click to hide internal directories.