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