Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScopedServiceProvider ¶ added in v0.1.7
AddServiceProvider adds service to the DI container
func AddSingletonServiceProvider ¶ added in v0.1.7
AddSingletonServiceProvider adds service to the DI container
Types ¶
type IServiceProvider ¶
type IServiceProvider interface {
GetService(name string) interface{}
}
func GetScopedServiceProviderFromContainer ¶ added in v0.1.7
func GetScopedServiceProviderFromContainer(ctn di.Container) IServiceProvider
GetDIServiceProviderFromContainer from the Container
func GetSingletonServiceProviderFromContainer ¶ added in v0.1.7
func GetSingletonServiceProviderFromContainer(ctn di.Container) IServiceProvider
GetSingletonServiceProviderFromContainer from the Container
Click to show internal directories.
Click to hide internal directories.