Versions in this module Expand all Collapse all v1 v1.5.1 May 14, 2026 v1.5.0 May 13, 2026 Changes in this version + const ConfigAPIName + const ConfigAPIRouteVersion + const ConfigDBHost + const ConfigDBName + const ConfigDBPassword + const ConfigDBPasswordPath + const ConfigDBPort + const ConfigDBUser + const ConfigEnvDev + const ConfigEnvDisconnected + const ConfigFilePath + const ConfigFilePathEnv + const ConfigKeycloakBaseURL + const ConfigKeycloakClientID + const ConfigKeycloakClientSecret + const ConfigKeycloakClientSecretPath + const ConfigKeycloakEnabled + const ConfigKeycloakExternalBaseURL + const ConfigKeycloakRealm + const ConfigKeycloakServiceAccountEnabled + const ConfigLogLevel + const ConfigMetricsEnabled + const ConfigMetricsPort + const ConfigRateLimiterBurst + const ConfigRateLimiterEnabled + const ConfigRateLimiterExpiresIn + const ConfigRateLimiterRate + const ConfigSentryDSN + const ConfigSiteManagerEnabled + const ConfigSiteManagerEndpoint + const ConfigSitePhoneHomeUrl + const ConfigTemporalCaPath + const ConfigTemporalCertPath + const ConfigTemporalEncryptionKey + const ConfigTemporalEncryptionKeyPath + const ConfigTemporalHost + const ConfigTemporalKeyPath + const ConfigTemporalNamespace + const ConfigTemporalPort + const ConfigTemporalQueue + const ConfigTemporalServerName + const ConfigTemporalTlsEnabled + const ConfigTracingEnabled + const ConfigTracingServiceName + var ProjectRoot = filepath.Join(filepath.Dir(cur), "../..") + func ParseOriginString(origin string) (string, error) + func SetupTestCerts(t *testing.T) (string, string) + type Config struct + JwtOriginConfig *cauth.JWTOriginConfig + KeycloakConfig *cauth.KeycloakConfig + SiteConfig *SiteConfig + func NewConfig() *Config + func (c *Config) Close() + func (c *Config) GetAPIName() string + func (c *Config) GetAPIRouteVersion() string + func (c *Config) GetDBConfig() *cconfig.DBConfig + func (c *Config) GetDBHost() string + func (c *Config) GetDBName() string + func (c *Config) GetDBPassword() string + func (c *Config) GetDBPasswordPath() string + func (c *Config) GetDBPort() int + func (c *Config) GetDBUser() string + func (c *Config) GetEnvDev() bool + func (c *Config) GetEnvDisconnected() bool + func (c *Config) GetIssuersConfig() []IssuerConfig + func (c *Config) GetKeycloakBaseURL() string + func (c *Config) GetKeycloakClientID() string + func (c *Config) GetKeycloakClientSecret() string + func (c *Config) GetKeycloakClientSecretPath() string + func (c *Config) GetKeycloakEnabled() bool + func (c *Config) GetKeycloakExternalBaseURL() string + func (c *Config) GetKeycloakRealm() string + func (c *Config) GetKeycloakServiceAccountEnabled() bool + func (c *Config) GetLogLevel() string + func (c *Config) GetMetricsConfig() *MetricsConfig + func (c *Config) GetMetricsEnabled() bool + func (c *Config) GetMetricsPort() int + func (c *Config) GetOrInitJWTOriginConfig() *cauth.JWTOriginConfig + func (c *Config) GetOrInitKeycloakConfig() (*cauth.KeycloakConfig, error) + func (c *Config) GetPathToConfig() string + func (c *Config) GetRateLimiterBurst() int + func (c *Config) GetRateLimiterConfig() *RateLimiterConfig + func (c *Config) GetRateLimiterEnabled() bool + func (c *Config) GetRateLimiterExpiresIn() int + func (c *Config) GetRateLimiterRate() float64 + func (c *Config) GetSentryDSN() string + func (c *Config) GetSiteConfig() *SiteConfig + func (c *Config) GetSiteManagerEnabled() bool + func (c *Config) GetSiteManagerEndpoint() string + func (c *Config) GetSitePhoneHomeUrl() string + func (c *Config) GetTemporalCaPath() string + func (c *Config) GetTemporalCertPath() string + func (c *Config) GetTemporalConfig() (*cconfig.TemporalConfig, error) + func (c *Config) GetTemporalEncryptionKey() string + func (c *Config) GetTemporalEncryptionKeyPath() string + func (c *Config) GetTemporalHost() string + func (c *Config) GetTemporalKeyPath() string + func (c *Config) GetTemporalNamespace() string + func (c *Config) GetTemporalPort() int + func (c *Config) GetTemporalQueue() string + func (c *Config) GetTemporalServerName() string + func (c *Config) GetTemporalTlsEnabled() bool + func (c *Config) GetTracingEnabled() bool + func (c *Config) GetTracingServiceName() string + func (c *Config) SetKeycloakBaseURL(value string) + func (c *Config) SetKeycloakClientID(value string) + func (c *Config) SetKeycloakClientSecret() + func (c *Config) SetKeycloakClientSecretPath(value string) + func (c *Config) SetKeycloakEnabled(value bool) + func (c *Config) SetKeycloakExternalBaseURL(value string) + func (c *Config) SetKeycloakRealm(value string) + func (c *Config) SetKeycloakServiceAccountEnabled(value bool) + func (c *Config) SetRateLimiterBurst(value int) + func (c *Config) SetRateLimiterEnabled(value bool) + func (c *Config) SetRateLimiterExpiresIn(value int) + func (c *Config) SetRateLimiterRate(value float64) + func (c *Config) SetSiteManagerEnabled(value bool) + func (c *Config) SetSiteManagerEndpoint(value string) + func (c *Config) SetSitePhoneHomeUrl(value string) + func (c *Config) SetTemporalCaPath(value string) + func (c *Config) SetTemporalCertPath(value string) + func (c *Config) SetTemporalEncryptionKey() + func (c *Config) SetTemporalEncryptionKeyPath(value string) + func (c *Config) SetTemporalKeyPath(value string) + func (c *Config) Validate() + func (c *Config) ValidateIssuersConfig(issuers []IssuerConfig) error + func (c *Config) ValidateKeycloakConfig() error + func (c *Config) ValidateSiteConfig() error + func (c *Config) WatchSecretFilePaths() + type IssuerConfig struct + AllowDuplicateStaticOrgNames bool + Audiences []string + ClaimMappings []cauth.ClaimMapping + Issuer string + JWKS string + JWKSTimeout string + Name string + Origin string + Scopes []string + ServiceAccount bool + func (ic *IssuerConfig) GetAllowDuplicateStaticOrgNames() bool + func (ic *IssuerConfig) GetJWKSTimeout() (time.Duration, error) + func (ic *IssuerConfig) GetOrigin() (string, error) + type MetricsConfig struct + Enabled bool + Port int + func NewMetricsConfig(enabled bool, port int) *MetricsConfig + func (mcfg *MetricsConfig) GetListenAddr() string + type RateLimiterConfig struct + Burst int + Enabled bool + ExpiresIn int + Rate float64 + func NewRateLimiterConfig(enabled bool, rate float64, burst int, expiresIn int) *RateLimiterConfig + type SiteConfig struct + Disconnected bool + PhoneHomeUrl string + func NewSiteConfig(disconnected bool, phoneHomeUrl string) *SiteConfig