Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHubFromContext ¶
GetHubFromContext retrieves attached *sentry.Hub instance from context or sentry. You can use this hub for extra information reporting
func Server ¶
func Server(opts ...Option) middleware.Middleware
Server returns a new server middleware for Sentry.
Types ¶
type Option ¶
type Option func(*options)
func WithRepanic ¶
WithRepanic repanic configures whether Sentry should repanic after recovery, in most cases it should be set to true.
func WithTimeout ¶
WithTimeout timeout for the event delivery requests.
func WithWaitForDelivery ¶
WithWaitForDelivery waitForDelivery configures whether you want to block the request before moving forward with the response.
Click to show internal directories.
Click to hide internal directories.