Documentation ¶
Index ¶
Constants ¶
View Source
const (
TraceFlag = "trace"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultLogLevel ¶
func DefaultLogLevel() int
Types ¶
type BaseConfig ¶
type BaseConfig struct { // Output level for logging LogLevel int `mapstructure:"log_level"` }
func DefaultBaseConfig ¶
func DefaultBaseConfig() BaseConfig
type Config ¶
type Config struct { // Top level options use an anonymous struct BaseConfig `mapstructure:",squash"` }
func DefaultConfig ¶
func DefaultConfig() *Config
type Executable ¶
type Executable interface {
Execute() error
}
Click to show internal directories.
Click to hide internal directories.