Documentation
¶
Index ¶
- type SentryHandler
- func (SentryHandler) CaddyModule() caddy.ModuleInfo
- func (h *SentryHandler) Cleanup() error
- func (h *SentryHandler) Provision(ctx caddy.Context) error
- func (h SentryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (h *SentryHandler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (h *SentryHandler) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SentryHandler ¶
type SentryHandler struct {
DSN string `json:"dsn,omitempty"`
Environment string `json:"environment,omitempty"`
Release string `json:"release,omitempty"`
Name string `json:"name,omitempty"`
EnableTracing bool `json:"enable_tracing,omitempty"`
// contains filtered or unexported fields
}
func (SentryHandler) CaddyModule ¶
func (SentryHandler) CaddyModule() caddy.ModuleInfo
func (*SentryHandler) Cleanup ¶
func (h *SentryHandler) Cleanup() error
func (SentryHandler) ServeHTTP ¶
func (h SentryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*SentryHandler) UnmarshalCaddyfile ¶
func (h *SentryHandler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
func (*SentryHandler) Validate ¶
func (h *SentryHandler) Validate() error
Click to show internal directories.
Click to hide internal directories.