Versions in this module Expand all Collapse all v1 v1.2.3 Sep 27, 2024 Changes in this version type BackupInfo + CompressionSpaceSaving string + TotalUncompressedSize uint64 + TotalUncompressedSizeStr string v1.2.2 Jul 22, 2024 v1.2.1 Jul 16, 2024 v1.2.0 Jul 12, 2024 v1.1.1 Jul 4, 2024 v1.1.0 May 30, 2024 Changes in this version type LoginData + Code string + type OtpInfo struct + Code string + Interval int + Secret string type Userinfo + Mfa bool v1.0.0 May 27, 2024 Changes in this version + const PageNum + const PageNumD + const PageSize + const PageSizeD + func PageFilter(num, size int, data []interface{}) (int, []interface{}, error) + type BackupInfo struct + DataDay string + DataSize uint64 + DataSizeStr string + Duration string + FileTotal int + RepositoryName string + SnapshotsNum int + Time time.Time + type BoardInfo struct + BackupInfo BackupInfo + BackupInfos []BackupInfo + PlanInfo PlanInfo + RepositoryInfo RepositoryInfo + type CustomError struct + Code int + Message string + func (e *CustomError) Error() string + type DumpInfo struct + Filename string + Mode int + Type string + type ErrorUpdate struct + During string + Error string + Item string + MessageType string + type FileInfo struct + CreateTime string + Gid int + IsDir bool + ModTime string + Mode string + Name string + Path string + Size int64 + Uid int + type LockInfo struct + Exclusive bool + GID uint32 + Hostname string + PID int + Time time.Time + UID uint32 + Username string + type LoginData struct + Password string + Username string + type Page struct + Items interface{} + PageNum int + PageSize int + Total int + func PageParam(ctx *context.Context) *Page + type PlanInfo struct + RunningCount int + Total int + type RePwdData struct + OldPassword string + Password string + type RepoStatus struct + Errmsg string + Id int + Status bool + type RepositoryInfo struct + RunningCount int + Total int + type RestoreInfo struct + Exclude string + Hosts string + IExclude string + IInclude string + Include string + Paths string + Tags string + Target string + Verify bool + type StatusUpdate struct + AvgSpeed string + BytesDone string + CurrentFiles []string + ErrorCount uint + FilesDone uint64 + MessageType string + PercentDone float64 + SecondsElapsed string + SecondsRemaining string + TotalBytes string + TotalFiles uint64 + type SummaryOutput struct + DataAdded string + DataBlobs int + DirsChanged uint + DirsNew uint + DirsUnmodified uint + DryRun bool + FilesChanged uint + FilesNew uint + FilesUnmodified uint + MessageType string + SnapshotID string + TotalBytesProcessed string + TotalDuration string + TotalFilesProcessed uint + TreeBlobs int + type TokenInfo struct + ExpiresAt time.Time + Token string + type Userinfo struct + Email string + Id int + LastLogin string + NickName string + Phone string + Token *TokenInfo + Username string + type VerboseUpdate struct + Action string + DataSize string + Duration string + Item string + MessageType string + MetadataSize string + TotalFiles uint