Skip to content
Snippets Groups Projects
Commit 06f0a2c9 authored by Elliott Beach's avatar Elliott Beach Committed by Alex Ellis
Browse files

add docs for GatewayConfig like WatchdogConfig

parent faf7f31a
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,26 @@ func (ReadConfig) Read(hasEnv HasEnv) GatewayConfig {
// GatewayConfig for the process.
type GatewayConfig struct {
// HTTP timeout for reading a request from clients.
ReadTimeout time.Duration
// HTTP timeout for writing a response from functions.
WriteTimeout time.Duration
// URL for alternate functions provider.
FunctionsProviderURL *url.URL
// Address of the NATS service. Required for async mode.
NATSAddress *string
// Port of the NATS Service. Required for async mode.
NATSPort *int
// Host to connect to Prometheus.
PrometheusHost string
// Port to connect to Prometheus.
PrometheusPort int
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment