Documentation ¶
Index ¶
- Constants
- func GetImpl(key string) (interface{}, error)
- func RegisterStructDescriptor(s *autowire.StructDescriptor)
- type Autowire
- func (a *Autowire) Construct(fieldInterfaceID string, sliceValue, _ interface{}) (interface{}, error)
- func (a *Autowire) Factory(fieldInterfaceID string) (interface{}, error)
- func (a *Autowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor
- func (a *Autowire) IsSingleton() bool
- func (a *Autowire) TagKey() string
Constants ¶
View Source
const AutowireTypeMetadataKey = "autowireType"
View Source
const InterfaceMetadataKey = "interfaces"
View Source
const Name = "allimpls"
Variables ¶
This section is empty.
Functions ¶
func RegisterStructDescriptor ¶
func RegisterStructDescriptor(s *autowire.StructDescriptor)
Types ¶
type Autowire ¶
func (*Autowire) GetAllStructDescriptors ¶
func (a *Autowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor
GetAllStructDescriptors re-write SingletonAutowire
func (*Autowire) IsSingleton ¶
Click to show internal directories.
Click to hide internal directories.