Documentation ¶
Index ¶
Constants ¶
View Source
const ( RepositoryStatusOnline = "online" RepositoryStatusOffline = "offline" )
表示仓库的状态
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AboutInfo ¶ added in v0.0.9
type AboutInfo struct { Title string Name string WebSite string Company string Version string Revision int ReleaseDate string ReleaseTime int64 Copyright string }
AboutInfo ...
type AgentMessage ¶
type DBASnapshot ¶
type DirItem ¶
type DirItem struct { Name string ContentType string URL string Size int64 UpdatedAt int64 CreatedAt int64 Exists bool IsDir bool IsFile bool IsVirtual bool IsSymlink bool }
DirItem 是 Dir 和 File 的基本结构
type Repository ¶
type RepositoryClone ¶
type RepositoryImport ¶
type RepositoryInit ¶
type StarIndexItem ¶ added in v0.0.9
StarIndexItem "STAR"服务描述符
type Task ¶
type Task struct { BaseDTO FromTime int64 ToTime int64 Deadline int64 // 如果>=0, 该字段无效 ShortID int // 这个字段只是为了方便人类阅读,实际的ID 应该以 BaseDTO.ID 为准 Archive bool // 表示任务结束后,是否要存入历史记录 Class string // 类似于html的class属性,用来选取不同种类的任务 CommandLine string WorkingDirectory string Status string // = mix ( task.Status , task.State) Message string Error string }
Task 表示一个后台任务
Click to show internal directories.
Click to hide internal directories.