Documentation ¶
Overview ¶
Package apps IOC层
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HostService host.Service
)
Functions ¶
func GetImpl ¶
func GetImpl(name string) interface{}
GetImpl 如果指定了具体类型, 就导致没增加一种类型, 多一个Get方法 func GetHostImpl(name string) host.Service
func RegistryGin ¶
func RegistryGin(svc GinService)
Types ¶
type GinService ¶
type ImplService ¶
type ImplService interface { Config() Name() string }
Click to show internal directories.
Click to hide internal directories.