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