Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface {
Registrar
Resolver
OverrideService
ScopeManager
Names() []string
Close() error
}
type OverrideService ¶
type RegisterOption ¶
type RegisterOption func(option *RegisterOptions)
type RegisterOptions ¶
type Registrar ¶
type Registrar interface {
Register(serviceName string, provider any, options ...RegisterOption) error
MustRegister(serviceName string, provider any, options ...RegisterOption)
}
type Scope ¶
type Scope interface {
Resolver
OverrideService
Close() error
}
type ScopeManager ¶
type ScopeManager interface {
NewScope() Scope
}
Click to show internal directories.
Click to hide internal directories.