Documentation
¶
Index ¶
- Constants
- type CallbackList
- type Check
- type Data
- func (e *Data) Del(name string) (*service.ExtendsInfo, error)
- func (e *Data) GetPlugin(id string) (*service.Plugin, error)
- func (e *Data) List(sortItem string, desc bool) ([]*service.ExtendsInfo, error)
- func (e *Data) Plugins(name string) ([]*service.Plugin, error)
- func (e *Data) Reset(data []*service.ExtendsInfo) error
- func (e *Data) Save(name string, data *service.ExtendsInfo) error
- type ICallback
- type Item
- type Manager
- type PluginData
- type Status
Constants ¶
View Source
const ( StatusSuccess = iota StatusInit StatusDownloadFault StatusCheckFault )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackList ¶
type CallbackList []ICallback
func (CallbackList) Update ¶
func (ecs CallbackList) Update(es []*Status, success bool)
type ICallback ¶
func GenCallbackList ¶
type Item ¶
type PluginData ¶
type PluginData struct {
// contains filtered or unexported fields
}
func NewPluginData ¶
func NewPluginData() *PluginData
func (*PluginData) All ¶
func (ed *PluginData) All() []*service.Plugin
func (*PluginData) Del ¶
func (ed *PluginData) Del(id string)
func (*PluginData) Reset ¶
func (ed *PluginData) Reset(extenders []*service.Plugin)
func (*PluginData) Set ¶
func (ed *PluginData) Set(extender *service.Plugin)
Click to show internal directories.
Click to hide internal directories.