Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupWith ¶
func SetupWith(ctx context.Context, config interface{}, l envconfig.Lookuper) (*serverenv.ServerEnv, error)
SetupWith processes the given configuration using envconfig. It is responsible for establishing database connections, resolving secrets, and accessing app configs. The provided interface must implement the various interfaces.
Types ¶
type DatabaseConfigProvider ¶
DatabaseConfigProvider ensures that the environment config can provide a DB config. All binaries in this application connect to the database via the same method.
Click to show internal directories.
Click to hide internal directories.