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