Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Zerotime bool
)
Functions ¶
func LogLevelStrings ¶
func LogLevelStrings() []string
LogLevelStrings returns a slice of all String values of the enum
func ProgressBar ¶
func SetLogFile ¶
func SetLoglevel ¶
func SetLoglevel(i LogLevel)
Types ¶
type LogLevel ¶
type LogLevel int
func GetLoglevel ¶
func GetLoglevel() LogLevel
func LogLevelString ¶
LogLevelString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func LogLevelValues ¶
func LogLevelValues() []LogLevel
LogLevelValues returns all values of the enum
func (LogLevel) IsALogLevel ¶
IsALogLevel returns "true" if the value is listed in the enum definition. "false" otherwise
type ProgressReport ¶
type ProgressReport struct { StartTime time.Time Title string ItemType string Current, Total int64 Percent float32 ID uuid.UUID Done bool }
func GetProgressReport ¶
func GetProgressReport() []ProgressReport
Click to show internal directories.
Click to hide internal directories.