panicparse

package
v0.0.341 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__99b5nh = &core.Package{
		PackageName: "namespacelabs.dev/foundation/universe/go/panicparse",
	}

	Provider__99b5nh = core.Provider{
		Package:     Package__99b5nh,
		Instantiate: makeDeps__99b5nh,
	}

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

Functions

func Prepare

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

Types

type ExtensionDeps

type ExtensionDeps struct {
	DebugHandler core.DebugHandler
}

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