Documentation
¶
Overview ¶
Package server contains the startup code for the server.
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) (lambda.Facade, error)
// RunFunc which runs the server.
RunFunc func(context.Context, string, http.Handler) error
}
Config for the server.
Click to show internal directories.
Click to hide internal directories.