Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TaskExternalToModel ¶
Types ¶
type Task ¶
type Task struct {
ID string `json:"id"`
Address string `json:"address"`
User string `json:"user"`
Password string `json:"password"`
SourcePath string `json:"sourcePath"`
DestPath string `json:"destPath"`
Schedule string `json:"schedule"`
Backend string `json:"backend"`
Succeed bool `json:"succeed"`
Enabled bool `json:"enabled"`
CreatedTime int64 `json:"createdTime"`
UpdatedTime int64 `json:"updatedTime"`
}
func TaskModelToExternal ¶
Click to show internal directories.
Click to hide internal directories.