Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DServ ¶
type DServ struct {
// contains filtered or unexported fields
}
func (*DServ) LoadSettings ¶
func (*DServ) Redirect ¶
func (service *DServ) Redirect(responseWriter http.ResponseWriter, request *http.Request)
func (*DServ) SaveSettings ¶
func (*DServ) StartAllTask ¶
func (srv *DServ) StartAllTask()
func (*DServ) StopAllTask ¶
func (srv *DServ) StopAllTask()
type DownloadSettings ¶
type DownloadSettings struct { FI httpclient.FileInfo `json:"FileInfo"` Dp []httpclient.DownloadProgress `json:"DownloadProgress"` }
type ServiceSettings ¶
type ServiceSettings struct {
Ds []DownloadSettings
}
func LoadFromFile ¶
func LoadFromFile(s string) (*ServiceSettings, error)
func (*ServiceSettings) SaveToFile ¶
func (s *ServiceSettings) SaveToFile(fp string) error
Click to show internal directories.
Click to hide internal directories.