Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigModel ¶
type ConfigModel struct { Id uint `json:"-"` Key string `json:"key" gorm:"index"` Value string `json:"value"` CreateTime utils.LocalTime `gorm:"type:datetime;autoCreateTime" json:"createTime"` UpdateTime utils.LocalTime `gorm:"type:datetime;autoUpdateTime" json:"updateTime"` }
配置
type RunnerModel ¶
type RunnerModel struct { Id uint `json:"-"` RunnerId string `json:"runnerId" gorm:"index" ` Title string `json:"title"` Url string `json:"url"` AccessToken string `json:"accessToken"` Status bool `json:"status"` CreateTime utils.LocalTime `gorm:"type:datetime;autoCreateTime" json:"createTime"` UpdateTime utils.LocalTime `gorm:"type:datetime;autoUpdateTime" json:"updateTime"` }
type TaskLogModel ¶
type TaskLogModel struct { Id uint `json:"-"` TaskLogId string `gorm:"index" json:"taskLogId"` TaskId string `json:"taskId"` Title string `json:"title"` Url string `json:"url"` // RunnerId string `json:"runnerId"` // TaskName string `json:"taskName"` Status int `json:"status"` // Result string `json:"result"` EndTime utils.LocalTime `gorm:"type:datetime" json:"endTime"` CreateTime utils.LocalTime `gorm:"type:datetime;autoCreateTime" json:"createTime"` UpdateTime utils.LocalTime `gorm:"type:datetime;autoUpdateTime" json:"updateTime"` }
type TaskModel ¶
type TaskModel struct { Id uint `json:"-"` TaskId string `gorm:"index" json:"taskId"` Title string `json:"title"` // RunnerId string `json:"runnerId"` // TaskName string `json:"taskName"` // Method string `json:"cron"` Cron string `json:"cron"` Url string `json:"url"` Status bool `json:"status"` CreateTime utils.LocalTime `gorm:"type:datetime;autoCreateTime" json:"createTime"` UpdateTime utils.LocalTime `gorm:"type:datetime;autoUpdateTime" json:"updateTime"` }
type UserModel ¶
type UserModel struct { Id uint `json:"-"` UserId string `gorm:"index" json:"userId"` Username string `gorm:"index" json:"username"` Password string `json:"password"` Status bool `json:"status"` CreateTime utils.LocalTime `gorm:"type:datetime;autoCreateTime" json:"createTime"` UpdateTime utils.LocalTime `gorm:"type:datetime;autoUpdateTime" json:"updateTime"` }
Click to show internal directories.
Click to hide internal directories.