Documentation ¶
Index ¶
- func InvokeAlias[T any](container *Container, name string) (T, error)
- func InvokeAs[T any](container *Container, name string) (t T, err error)
- func InvokeBean[T any](container *Container, name string) (t T, err error)
- func ListInvokeAs[T any](container *Container) (re []T, err error)
- func OverrideBean[T any](container *Container, name string, provider func() (T, error))
- func ProvideBean[T any](container *Container, name string, provider func() (T, error))
- func Proxy[T any](container *Container, name string, f func(T) T)
- type Container
- type Context
- type Initializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListInvokeAs ¶
func OverrideBean ¶
func ProvideBean ¶
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func NewContainer ¶
func NewContainer() *Container
func (*Container) HealthLogger ¶
type Initializer ¶
func InitializedWrapper ¶
func InitializedWrapper(order int, init func(*Container) error) Initializer
Click to show internal directories.
Click to hide internal directories.