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