Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "zitadel/backend/v3/instrumentation/tracing"
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `mapstructure:"server"`
Database database.Config `mapstructure:"database"`
PasswordHasher crypto.HashConfig `mapstructure:"password_hasher"`
Schema SchemaConfig `mapstructure:"schema"`
Session service.SessionConfig `mapstructure:"session"`
Instrumentation instrumentation.Config `mapstructure:"instrumentation"`
}
type SchemaConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Address string `mapstructure:"address"`
// DataDir is the local runtime root used by zero-config server defaults.
// When unset, it defaults to a nextgen-data directory next to the binary.
DataDir string `mapstructure:"data_dir"`
// EncryptionKey is the 32-byte (hex-encoded, 64 chars) symmetric
// key used to seal flow cookies. If unset, the server creates or reuses
// EncryptionKeyFile.
EncryptionKey string `mapstructure:"encryption_key"`
// EncryptionKeyFile stores the generated encryption key for zero-config
// local starts. When unset, it defaults under DataDir.
EncryptionKeyFile string `mapstructure:"encryption_key_file"`
ConsoleEnabled bool `mapstructure:"console_enabled"`
ConsolePath string `mapstructure:"console_path"`
LoginEnabled bool `mapstructure:"login_enabled"`
LoginPath string `mapstructure:"login_path"`
}
type SessionConfig ¶
type ShutdownFunc ¶
type ShutdownFuncs ¶
type ShutdownFuncs struct {
// contains filtered or unexported fields
}
func (*ShutdownFuncs) Add ¶
func (sfs *ShutdownFuncs) Add(sf ShutdownFunc)
Click to show internal directories.
Click to hide internal directories.