sentry

package
v0.0.367 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__efmlf2 = &core.Package{
		PackageName: "namespacelabs.dev/foundation/universe/monitoring/sentry",
	}

	Provider__efmlf2 = core.Provider{
		Package:     Package__efmlf2,
		Instantiate: makeDeps__efmlf2,
	}

	Initializers__efmlf2 = []*core.Initializer{
		{
			Package: Package__efmlf2,
			Do: func(ctx context.Context, di core.Dependencies) error {
				return di.Instantiate(ctx, Provider__efmlf2, func(ctx context.Context, v interface{}) error {
					return Prepare(ctx, v.(ExtensionDeps))
				})
			},
		},
	}
)

Functions

func MaybeAttachError added in v0.0.197

func MaybeAttachError(ctx context.Context, err error)

func Prepare

func Prepare(ctx context.Context, deps ExtensionDeps) error

Types

type ExtensionDeps

type ExtensionDeps struct {
	Interceptors interceptors.Registration
	Middleware   middleware.Middleware
	ServerInfo   *types.ServerInfo
}

Dependencies that are instantiated once for the lifetime of the extension.

Jump to

Keyboard shortcuts

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