Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheProvider ¶
type CacheProvider struct { framework.ServiceProvider Driver string // Driver }
CacheProvider 服务提供者
func (*CacheProvider) Params ¶
func (l *CacheProvider) Params(c framework.Container) []interface{}
Params 定义要传递给实例化方法的参数
func (*CacheProvider) Register ¶
func (l *CacheProvider) Register(c framework.Container) framework.NewInstance
Register 注册一个服务实例
Click to show internal directories.
Click to hide internal directories.