git-project-manager/internal/remotes/load/load.go

23 lines
530 B
Go

package load
import "gitlab.sweetwater.com/it/devops/tools/gitlab-project-manager/internal/remotes/projects"
// This package provides structs that serve
// as the interface between remotes, and any code
// that will call StreamProjects() on those remotes
type ProgressInfo struct {
ProgressChan chan Progress
ProjectsChan chan []*projects.Project
ErrorChan chan error
DoneChan chan interface{}
NumProjects int
}
type Progress struct {
Page int
Pages int
Projects int
TotalProjects int
}