Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var App = defaultAppConfig()
App is populated by CLI flag parsing before the service starts. Treat it as read-only once the service is running.
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct {
RootDir string
LogOutput string
LogLevel string
SelfURL string
Addr string
AllowIPs []string
TrustedProxies []string
ExecTimeout time.Duration
PoolSize int
}
AppConfig holds TaskFlow's startup settings.
func (*AppConfig) BindFlags ¶
BindFlags registers startup options on the command's persistent and local flag sets.