MCPcopy Create free account
hub / github.com/codnect/procyon / CanResolveType

Method CanResolveType

component/resolver.go:29–29  ·  view source on GitHub ↗

CanResolveType checks if a component of the given type is resolvable.

(typ reflect.Type)

Source from the content-addressed store, hash-verified

27
28 // CanResolveType checks if a component of the given type is resolvable.
29 CanResolveType(typ reflect.Type) bool
30
31 // Resolve retrieves a component instance by its name.
32 Resolve(ctx context.Context, name string) (any, error)

Callers 1

Implementers 2

AnyContainercomponent/container_test.go
DefaultContainercomponent/container.go

Calls

no outgoing calls

Tested by 1