Documentation ¶
Index ¶
Constants ¶
View Source
const ContextKey = contextKey(1)
Variables ¶
This section is empty.
Functions ¶
func SentryInit ¶
func SentryInit()
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) RecoverWithSentry ¶
func (h *Handler) RecoverWithSentry(hub *sentry.Hub, ctx *fiber.Ctx)
type Options ¶
type Options struct { // Repanic configures whether Sentry should repanic after recovery, in most cases it should be set to false, // as fasthttp doesn't include it's own Recovery handler. Repanic bool // WaitForDelivery configures whether you want to block the request before moving forward with the response. // Because fasthttp doesn't include it's own Recovery handler, it will restart the application, // and event won't be delivered otherwise. WaitForDelivery bool // Timeout for the event delivery requests. Timeout time.Duration }
Click to show internal directories.
Click to hide internal directories.