sentry

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DSN string `long:"dsn" env:"DSN" description:"DSN string"`
}

type Service

type Service struct {
	Handler *sentryhttp.Handler
}

func NewService

func NewService(conf Config) (*Service, error)

func (*Service) Flush

func (srv *Service) Flush(timeout time.Duration) bool

func (*Service) GetHandler

func (srv *Service) GetHandler() *sentryhttp.Handler

Jump to

Keyboard shortcuts

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