Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Type string `mapstructure:"type"`
Secret string `mapstructure:"secret"`
Keycloak KeycloakConfig `mapstructure:"keycloak"`
}
AuthConfig contains authentication settings
type Config ¶
type Config struct {
Relay RelayConfig `mapstructure:"relay"`
Auth AuthConfig `mapstructure:"auth"`
RateLimiting RateLimitingConfig `mapstructure:"rate_limiting"`
Logging LoggingConfig `mapstructure:"logging"`
}
Config represents the complete client configuration
type KeycloakConfig ¶
type KeycloakConfig struct {
Enabled bool `mapstructure:"enabled"`
ServerURL string `mapstructure:"server_url"`
Realm string `mapstructure:"realm"`
ClientID string `mapstructure:"client_id"`
}
KeycloakConfig contains Keycloak integration settings
type LoggingConfig ¶
type LoggingConfig struct {
Level string `mapstructure:"level"`
Format string `mapstructure:"format"`
Output string `mapstructure:"output"`
}
LoggingConfig contains logging settings
type RateLimitingConfig ¶
type RateLimitingConfig struct {
Enabled bool `mapstructure:"enabled"`
MaxRetries int `mapstructure:"max_retries"`
BackoffMultiplier float64 `mapstructure:"backoff_multiplier"`
MaxBackoff time.Duration `mapstructure:"max_backoff"`
}
RateLimitingConfig contains rate limiting settings
type RelayConfig ¶
type RelayConfig struct {
Host string `mapstructure:"host"`
Port int `mapstructure:"port"`
Timeout time.Duration `mapstructure:"timeout"`
TLS TLSConfig `mapstructure:"tls"`
}
RelayConfig contains relay server connection settings
type TLSConfig ¶
type TLSConfig struct {
Enabled bool `mapstructure:"enabled"`
MinVersion string `mapstructure:"min_version"`
VerifyCert bool `mapstructure:"verify_cert"`
CACert string `mapstructure:"ca_cert"`
ClientCert string `mapstructure:"client_cert"`
ClientKey string `mapstructure:"client_key"`
ServerName string `mapstructure:"server_name"`
}
TLSConfig contains TLS-specific settings
Click to show internal directories.
Click to hide internal directories.