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