Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { *config.PluginConfig ManifestVersion int `json:"manifest_version"` Name string `json:"name"` Description string `json:"description"` Author string `json:"author"` Version string `json:"version"` HomePage string `json:"homepage"` Color string `json:"color"` DocsURL string `json:"docs_url"` DownloadURL string `json:"download_url"` Matches []string `json:"matches"` Type string `json:"type"` // downloader/other Location string `json:"location"` // 软件执行文件全名 State int `json:"state"` // 1.运行中 2.运行中 尚未检测通信结果 3.未启动 Port int `json:"port"` PID int `json:"pid"` Service pb.DownloadServiceClient // contains filtered or unexported fields }
func (*Plugin) InjectMetadata ¶
Click to show internal directories.
Click to hide internal directories.