Documentation
¶
Overview ¶
Package bootstrap wires glabs-web together: flags, config, database, then the GraphQL server. It is the server's equivalent of cmd/root.go for the CLI.
Index ¶
Constants ¶
View Source
const ( EnvSentryDSN = "SENTRY_DSN" EnvSentryEnvironment = "SENTRY_ENVIRONMENT" )
The error-reporting configuration comes from the environment, not from .glabs-web.yaml: it has to be up before the config file is read, since a config file that will not load is exactly the kind of startup failure worth hearing about. The DSN is a credential and belongs in the host's .env.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.