Documentation ¶
Index ¶
- type AutowireBase
- func (a *AutowireBase) Construct(sdID string, impledPtr, param interface{}) (interface{}, error)
- func (a *AutowireBase) Factory(sdID string) (interface{}, error)
- func (a *AutowireBase) InjectPosition() autowire.InjectPosition
- func (a *AutowireBase) ParseParam(sdID string, fi *autowire.FieldInfo) (interface{}, error)
- func (a *AutowireBase) ParseSDID(field *autowire.FieldInfo) (string, error)
- type FacadeAutowire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutowireBase ¶
type AutowireBase struct {
// contains filtered or unexported fields
}
func New ¶
func New(facadeAutowire FacadeAutowire, sp autowire.SDIDParser, pl autowire.ParamLoader) AutowireBase
New return new AutowireBase
func (*AutowireBase) Construct ¶
func (a *AutowireBase) Construct(sdID string, impledPtr, param interface{}) (interface{}, error)
func (*AutowireBase) Factory ¶
func (a *AutowireBase) Factory(sdID string) (interface{}, error)
func (*AutowireBase) InjectPosition ¶
func (a *AutowireBase) InjectPosition() autowire.InjectPosition
func (*AutowireBase) ParseParam ¶
func (a *AutowireBase) ParseParam(sdID string, fi *autowire.FieldInfo) (interface{}, error)
type FacadeAutowire ¶
type FacadeAutowire interface { GetAllStructDescriptors() map[string]*autowire.StructDescriptor TagKey() string }
Click to show internal directories.
Click to hide internal directories.