diskii/types/types.go

12 lines
468 B
Go
Raw Normal View History

2021-08-01 03:49:22 +00:00
// Package types holds various types that are needed all over the place. They're
// in their own package to avoid circular dependencies.
2021-06-26 02:33:11 +00:00
package types
// Globals holds flags and configuration that are shared globally.
type Globals struct {
// Debug level (0 = no debugging, 1 = normal user debugging, 2+ is mostly for me)
Debug int
// DiskOperatorFactories holds the current list of registered OperatorFactory instances.
2021-06-26 02:33:11 +00:00
DiskOperatorFactories []OperatorFactory
}