Documentation ¶
Index ¶
- Constants
- type ApplicationRunner
- type CloserComponent
- type ConfigurationProperties
- type InitializeComponent
- type InitializingComponent
- type LazyInit
- type LazyInitComponent
- type NamingComponent
- type Ordered
- type Priority
- type PriorityComponent
- type PriorityOrdered
- type WirePrimary
- type WirePrimaryComponent
- type WireQualifier
Constants ¶
View Source
const ( //System Components tag LoggerTag = "logger" //components tag InjectTag = "wire" FuncTag = "func" //configuration tag ValueTag = "value" PropTag = "prop" //`prop` tag is alias to `value:"${prop_value}"` PrefixTag = "prefix" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRunner ¶
type ApplicationRunner interface {
Run() error
}
type CloserComponent ¶
type CloserComponent interface {
Close() error
}
type ConfigurationProperties ¶ added in v1.5.5
type ConfigurationProperties interface {
Prefix() string
}
type InitializeComponent ¶
type InitializeComponent interface {
Init() error
}
type InitializingComponent ¶
type InitializingComponent interface {
AfterPropertiesSet() error
}
type LazyInitComponent ¶
type LazyInitComponent struct{}
func (*LazyInitComponent) LazyInit ¶
func (i *LazyInitComponent) LazyInit()
type NamingComponent ¶
type NamingComponent interface {
Naming() string
}
type PriorityComponent ¶
type PriorityComponent struct{}
func (*PriorityComponent) Priority ¶
func (i *PriorityComponent) Priority()
type PriorityOrdered ¶
type WirePrimary ¶
type WirePrimary interface {
Primary()
}
type WirePrimaryComponent ¶
type WirePrimaryComponent struct{}
func (*WirePrimaryComponent) Primary ¶
func (i *WirePrimaryComponent) Primary()
type WireQualifier ¶
type WireQualifier interface {
Qualifier() string
}
Click to show internal directories.
Click to hide internal directories.