Documentation ¶
Index ¶
- type SimpleHttp
- func (s SimpleHttp) AddURL(args *tool.AddUrlArgs) (string, error)
- func (s SimpleHttp) Init() (string, error)
- func (s SimpleHttp) IsReady() bool
- func (s SimpleHttp) Items() []model.SettingItem
- func (s SimpleHttp) Name() string
- func (s SimpleHttp) Remove(task *tool.DownloadTask) error
- func (s SimpleHttp) Run(task *tool.DownloadTask) error
- func (s SimpleHttp) Status(task *tool.DownloadTask) (*tool.Status, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleHttp ¶
type SimpleHttp struct {
// contains filtered or unexported fields
}
func (SimpleHttp) AddURL ¶
func (s SimpleHttp) AddURL(args *tool.AddUrlArgs) (string, error)
func (SimpleHttp) Init ¶
func (s SimpleHttp) Init() (string, error)
func (SimpleHttp) IsReady ¶
func (s SimpleHttp) IsReady() bool
func (SimpleHttp) Items ¶
func (s SimpleHttp) Items() []model.SettingItem
func (SimpleHttp) Name ¶
func (s SimpleHttp) Name() string
func (SimpleHttp) Remove ¶
func (s SimpleHttp) Remove(task *tool.DownloadTask) error
func (SimpleHttp) Run ¶
func (s SimpleHttp) Run(task *tool.DownloadTask) error
func (SimpleHttp) Status ¶
func (s SimpleHttp) Status(task *tool.DownloadTask) (*tool.Status, error)
Click to show internal directories.
Click to hide internal directories.