Versions in this module Expand all Collapse all v1 v1.0.0 Oct 29, 2024 Changes in this version + 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 struct + func NewContainer() *Container + func (c *Container) Alias(name, fullName string) + func (c *Container) HealthLogger() string + func (c *Container) Inject() *do.RootScope + func (c *Container) Run(signals ...os.Signal) (err error) + func (c *Container) Stop() (err error) + type Context struct + Do func() + In []any + Name string + Out []any + Receiver any + type Initializer interface + Init func(*Container) error + Order func() int + func InitializedWrapper(order int, init func(*Container) error) Initializer