sentrykit

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

func Init

func Init(dsn string, options ...Option) error

Types

type Option

type Option func(o *sentry.ClientOptions)

Option configures Sentry.

func WithDebug

func WithDebug(enabled bool) Option

func WithDist

func WithDist(dist string) Option

func WithEnv

func WithEnv(env string) Option

WithEnv sets sentry.ClientOptions Environment field to track the name of the environment.

func WithRelease

func WithRelease(release string) Option

func WithSampleRate

func WithSampleRate(rate float64) Option

func WithServerName

func WithServerName(name string) Option

func WithStacktrace

func WithStacktrace(enabled bool) Option

func WithTracing

func WithTracing(enabled bool) Option

func WithTracingSampleRate

func WithTracingSampleRate(rate float64) Option

Jump to

Keyboard shortcuts

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