Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintUsage ¶
Types ¶
type Config ¶
type Config struct {
// compile-time parameters
GitCommit string
GitVersion string
EmbedFrontend bool
Env string `yaml:"env" env:"APP_ENV" env-default:"production" env-description:"Environment [production, local, sandbox]"`
Debug bool `yaml:"debug" env:"APP_DEBUG" env-default:"false" env-description:"Enables debug mode"`
Logger log.Config `yaml:"logger"`
Oxygen Oxygen `yaml:"oxygen"`
KMS KMS `yaml:"kms"`
Providers Providers `yaml:"providers"`
Notifications Notifications `yaml:"notifications"`
}
type KMS ¶
type KMS struct {
// IsEmbedded indicates that app is running in 'all-in-one' mode.
// Not suitable for safety reasons as KMS should operate in isolated environment in order to
// keep private keys secure.
IsEmbedded bool `yaml:"-"`
Server http.Config `yaml:"server"`
Bolt bolt.Config `yaml:"store"`
}
type Notifications ¶
type Notifications struct {
SlackWebhookURL string `yaml:"slack_webhook_url" env:"NOTIFICATIONS_SLACK_WEBHOOK_URL" env-description:"Internal variable"`
}
Click to show internal directories.
Click to hide internal directories.