Documentation
¶
Index ¶
Constants ¶
View Source
const ( UPLOADED action = iota UPDATED MATCHED FAILED )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadCounter ¶
func NewReadCounter ¶
func NewReadCounter(in io.Reader) ReadCounter
type Summarizer ¶
type Summarizer struct { StartTime time.Time EndTime time.Time TotalFiles uint64 TotalUploaded uint64 TotalUpdated uint64 TotalMatched uint64 TotalFailed uint64 TotalBytes uint64 // contains filtered or unexported fields }
func NewSummarizer ¶
func NewSummarizer(wg *sync.WaitGroup, verbose bool) (*Summarizer, chan<- *Result)
func (*Summarizer) ExitStatus ¶
func (s *Summarizer) ExitStatus() int
func (*Summarizer) Report ¶
func (s *Summarizer) Report()
func (*Summarizer) Run ¶
func (s *Summarizer) Run()
Click to show internal directories.
Click to hide internal directories.