sentry

package
v0.0.0-...-c3cdbdc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SentryMiddleware

func SentryMiddleware() gin.HandlerFunc

func TagBy

func TagBy(ctx *gin.Context, name string)

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(env, dsn string) *Monitor

func (*Monitor) Flush

func (s *Monitor) Flush()

func (*Monitor) Init

func (s *Monitor) Init()

type SentryHttpClient

type SentryHttpClient struct {
	// contains filtered or unexported fields
}

func NewSentryHttpClient

func NewSentryHttpClient(client *http.Client) *SentryHttpClient

func (*SentryHttpClient) Do

func (s *SentryHttpClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL