Documentation
¶
Overview ¶
Package sentry provides a client to access https://sentry.io/api and sentry instances apis.
Index ¶
Constants ¶
View Source
const ( // DefaultHost is the default host that is used DefaultHost = "https://sentry.io" // DefaultEndpoint is the entry point for the api DefaultEndpoint = "/api/0/" // DefaultTimeout is the default timeout and is set to 60 seconds DefaultTimeout = time.Duration(60) * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is used to talk to a sentry endpoint. Needs a auth token. If no endpoint this defaults to https://sentry.io/api/0/
func NewClient ¶
NewClient takes a auth token a optional endpoint and optional timeout and will return back a client and error
func (*Client) CreateProject ¶
func (*Client) CreateRelease ¶
func (c *Client) CreateRelease(oslug string, r NewRelease) (Release, error)
type NewRelease ¶
Click to show internal directories.
Click to hide internal directories.