Documentation
¶
Overview ¶
Package config parses the server's BRAID_* environment.
Index ¶
Constants ¶
View Source
const DefaultSourceURL = "https://github.com/usebraid/braid"
DefaultSourceURL is the upstream repository.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PublicURL *url.URL
Listen string
DatabaseURL string
DatabaseOwnerURL string
OIDCIssuer string
OIDCClientID string
OIDCClientSecret string
OIDCScopes []string
OIDCGroupsClaim string
OIDCAdminGroup string
OIDCAllowedGroups []string
TrustedProxies []netip.Prefix
// SourceURL is the https link to the project's source (AGPL §13); forks override it.
SourceURL string
}
Config is the parsed server configuration.
Click to show internal directories.
Click to hide internal directories.