Documentation ¶
Overview ¶
Package app contains the startup code for the app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Filename of the config file. Filename string // Listen address for requests. Listen string // MetricsListen address for metrics/health checks. MetricsListen string // LambdaServiceFactory to be used. LambdaServiceFactory func(context.Context, *config.AWS) (lambda.Facade, error) // RunFunc which runs the app. RunFunc func(context.Context, string, http.Handler, *config.HTTP) error }
Config for the app.
Click to show internal directories.
Click to hide internal directories.