Documentation ¶
Index ¶
- Constants
- func CheckPassword(user, pwd, ctime, cpwd string) bool
- func EncryptPassword(user, pwd, ctime string) ([]byte, error)
- func GetConfFileList(env string, page, size int) (*common.PageDataType, error)
- func GetConfTagList(page, size int) (*common.PageDataType, error)
- func GetCronTagList(page, size int) (*common.PageDataType, error)
- func GetCronTaskList(env string, page, size int) (*common.PageDataType, error)
- func GetUserList(page, size int) (*common.PageDataType, error)
- type ConfFile
- type ConfTag
- type CronNode
- type CronTag
- type CronTask
- type User
- type UserPassword
Constants ¶
View Source
const ( N = 16384 R = 8 P = 1 KEYLENTH = 32 )
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
func EncryptPassword ¶
func GetConfFileList ¶
func GetConfTagList ¶
func GetCronTagList ¶
func GetCronTaskList ¶
func GetUserList ¶
Types ¶
type ConfFile ¶
type ConfTag ¶
type CronNode ¶
func GetCronNodeList ¶
type CronTag ¶
type CronTask ¶
type CronTask struct { CronID string `json:"cronid"` CronName string `json:"cronname"` Env string `json:"env"` Args string `json:"args"` Schedule string `json:"schedule"` Enable string `json:"enable"` Ctime int64 `json:"ctime"` Mtime int64 `json:"mtime"` Remark string `json:"remark"` }
func (*CronTask) UpdateStatus ¶
type User ¶
type UserPassword ¶
type UserPassword struct { Username string `json:"username"` Password string `json:"password"` Ctime string `json:"ctime"` }
func GetUserPassword ¶
func GetUserPassword(user string) (*UserPassword, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.