composition

package
v0.1.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtensionProof

func ExtensionProof(*Proof)

ExtensionProof is compile-time metadata and is never executed.

@Application

Types

type Proof

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

Proof owns the generated map-injection acceptance boundary.

@Component(constructor=NewProof) @Singleton

func NewProof

func NewProof(tools map[string]tool.Tool) *Proof

NewProof constructs a defensive view of the generated tool map.

func (*Proof) HasTool

func (proof *Proof) HasTool(name string) bool

HasTool reports whether generated composition injected the named tool.

Jump to

Keyboard shortcuts

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