Versions in this module Expand all Collapse all v0 v0.1.7 Jun 10, 2024 v0.1.6 Jun 9, 2024 Changes in this version + func SendFatalError(job, message string, errorChan chan ProgressError) + func SendProgressError(job, message string, errorChan chan ProgressError) + func SendProgressUpdate(job, message string, completed bool, progressChan chan *ProgressUpdate) + func SendProgressWarning(job, message string, progressChan chan *ProgressUpdate) + type CanvasDirection string + type CanvasPosition string + type ChangeStatistics struct + Added int + BreakingAdded int + BreakingModified int + BreakingRemoved int + Commit *CommitStatistics + Modified int + Removed int + Total int + TotalBreaking int + type Commit struct + Author string + AuthorEmail string + Changes *model.DocumentChanges + CommitDate time.Time + CreatedAt time.Time + Data []byte + Document libopenapi.Document + FilePath string + Hash string + ID uint + Message string + OldData []byte + OldDocument libopenapi.Document + RepoDirectory string + SerializedChanges []byte + UpdatedAt time.Time + type CommitStatistics struct + Author string + AuthorEmail string + Date string + Hash string + Message string + type EdgeData struct + ArrowHeadType any + ClassName string + ContainerClassName string + Data T + Disabled *bool + From string + FromPort string + Id string + Parent string + SelectionDisabled string + Text string + To string + ToPort string + type FlatHistoricalReport struct + DateGenerated string + Filename string + GitFilePath string + GitRepoPath string + Reports []*FlatReport + type FlatReport struct + Changes []*model.Change + Commit *Commit + Summary map[string]*reports.Changed + type GraphResult struct + Edges []*EdgeData[any] + Nodes []*NodeData[any] + type HTMLReport struct + DateGenerated string + ReportItems []*HTMLReportItem + UseCDN bool + type HTMLReportItem struct + DocumentChanges *wcModel.DocumentChanges + Graph *GraphResult + ModifiedSpec string + OriginalSpec string + Statistics *ChangeStatistics + TreeNodes []*TreeNode + type HistoricalReport struct + DateGenerated string + Filename string + GitFilePath string + GitRepoPath string + ID uint + Reports []*Report + type IconData struct + Height *int + Url string + Width *int + type NodeData struct + ClassName string + Data T + Disabled *bool + Height *int + Icon *IconData + Id string + LayoutOptions any + NodePadding []int + Parent string + Ports []*PortData + SelectionDisabled *bool + Text any + Width *int + type PortData struct + Alignment CanvasPosition + ClassName string + Height *int + Hidden bool + Id string + Side PortSide + Width *int + type PortSide string + type ProgressError struct + Fatal bool + Job string + Message string + func (p ProgressError) Error() string + type ProgressUpdate struct + Completed bool + Job string + Message string + Warning bool + type Report struct + Commit *Commit + CreatedAt time.Time + ID uint + Summary map[string]*reports.Changed + UpdatedAt time.Time + type TreeNode struct + BreakingChanges int + Change *wcModel.Change + Children []*TreeNode + Disabled bool + IsLeaf bool + Key string + Selectable bool + Title string + TitleString string + TotalChanges int