mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
385 B
21 lines
385 B
5 years ago
|
package lint
|
||
|
|
||
|
const (
|
||
|
StateInitializing = 0
|
||
|
StateGraph = 1
|
||
|
StateProcessing = 2
|
||
|
StateCumulative = 3
|
||
|
)
|
||
|
|
||
|
type Stats struct {
|
||
|
State uint32
|
||
|
|
||
|
InitialPackages uint32
|
||
|
TotalPackages uint32
|
||
|
ProcessedPackages uint32
|
||
|
ProcessedInitialPackages uint32
|
||
|
Problems uint32
|
||
|
ActiveWorkers uint32
|
||
|
TotalWorkers uint32
|
||
|
}
|