allimpls

package
v0.0.0-...-278a4e6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 14

Documentation

Index

Constants

View Source
const AutowireTypeMetadataKey = "autowireType"
View Source
const InterfaceMetadataKey = "interfaces"
View Source
const Name = "allimpls"

Variables

This section is empty.

Functions

func GetImpl

func GetImpl(key string) (interface{}, error)

func RegisterStructDescriptor

func RegisterStructDescriptor(s *autowire.StructDescriptor)

Types

type Autowire

type Autowire struct {
	autowire.Autowire
	// contains filtered or unexported fields
}

func (*Autowire) Construct

func (a *Autowire) Construct(fieldInterfaceID string, sliceValue, _ interface{}) (interface{}, error)

func (*Autowire) Factory

func (a *Autowire) Factory(fieldInterfaceID string) (interface{}, error)

func (*Autowire) GetAllStructDescriptors

func (a *Autowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor

GetAllStructDescriptors re-write SingletonAutowire

func (*Autowire) IsSingleton

func (a *Autowire) IsSingleton() bool

func (*Autowire) TagKey

func (a *Autowire) TagKey() string

TagKey re-write SingletonAutowire

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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