Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // overridden by the build system Version = "dev" BuildCommit = "" BuildDate = "" )
Functions ¶
Types ¶
type ActivityLogConfig ¶ added in v0.6.17
type ActivityLogConfig struct {
// activity sink strategy - db, stdout, none
Sink string `yaml:"sink" mapstructure:"sink" default:"none"`
}
type Log ¶ added in v0.6.17
type Log struct {
// log level - debug, info, warning, error, fatal
Level string `yaml:"level" mapstructure:"level" default:"info"`
// format strategy - plain, json
Format string `yaml:"format" mapstructure:"format" default:"json"`
Activity ActivityLogConfig `yaml:"activity" mapstructure:"activity"`
}
type Shield ¶
type Shield struct {
// configuration version
Version int `yaml:"version"`
Proxy proxy.ServicesConfig `yaml:"proxy"`
Log Log `yaml:"log"`
NewRelic NewRelic `yaml:"new_relic"`
App server.Config `yaml:"app"`
DB db.Config `yaml:"db"`
SpiceDB spicedb.Config `yaml:"spicedb"`
Telemetry telemetry.Config `yaml:"telemetry"`
}
Click to show internal directories.
Click to hide internal directories.