Documentation ¶
Overview ¶
Package factory provides hiboot factory interface
Package factory provides InstantiateFactory and ConfigurableFactory interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurableFactory ¶ added in v0.5.4
type ConfigurableFactory interface { InstantiateFactory SystemConfiguration() *system.Configuration Configuration(name string) interface{} }
type InstantiateFactory ¶ added in v0.5.4
type MetaData ¶ added in v0.9.0
type MetaData struct { Kind string Name string ShortName string TypeName string PkgName string Context interface{} Object interface{} Type reflect.Type Depends []string ExtDep []*MetaData }
MetaData is the injectable object meta data
func NewMetaData ¶ added in v0.9.0
func NewMetaData(params ...interface{}) *MetaData
NewMetaData create new meta data
Directories ¶
Path | Synopsis |
---|---|
Package autoconfigure implement ConfigurableFactory
|
Package autoconfigure implement ConfigurableFactory |
Package depends provides dependency resolver for factory
|
Package depends provides dependency resolver for factory |
bar
Package bar is the test package for package depends
|
Package bar is the test package for package depends |
fake
Package fake is the test package for package depends
|
Package fake is the test package for package depends |
foo
Package foo is the test package for package depends
|
Package foo is the test package for package depends |
Package instantiate implement InstantiateFactory
|
Package instantiate implement InstantiateFactory |
Click to show internal directories.
Click to hide internal directories.