Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Printf(format string, v ...interface{})
}
var Log Logger = &StdoutLogger{}
type ProgressFunc ¶
type Script ¶
type Script struct {
Category string // taken from subdirectory
Name string
Desc string
// contains filtered or unexported fields
}
func LoadScripts ¶
LoadScripts loads a directory of scripts. Subdirectories are used to populate the script category field.
type StdoutLogger ¶
type StdoutLogger struct{}
func (*StdoutLogger) Printf ¶
func (l *StdoutLogger) Printf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.