Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v2.14.2
type Config struct {
// List of the middleware names (order will be preserved)
Middleware []string `mapstructure:"middleware"`
// Pool configures worker pool.
Pool *pool.Config `mapstructure:"pool"`
// HTTP related configuration
HTTPConfig *http.Config `mapstructure:"http"`
// SSLConfig defines https server options.
SSLConfig *https.SSL `mapstructure:"ssl"`
// FCGIConfig configuration. You can use FastCGI without HTTP server.
FCGIConfig *fcgi.FCGI `mapstructure:"fcgi"`
// HTTP2Config configuration
HTTP2Config *https.HTTP2 `mapstructure:"http2"`
// Uploads configures uploads configuration.
Uploads *uploads.Uploads `mapstructure:"uploads"`
}
Config configures RoadRunner HTTP server.
func (*Config) EnableFCGI ¶ added in v2.14.2
EnableFCGI is true when FastCGI server must be enabled.
func (*Config) EnableHTTP ¶ added in v2.14.2
EnableHTTP is true when http server must run.
func (*Config) EnableTLS ¶ added in v2.14.2
EnableTLS returns true if pool must listen TLS connections.
func (*Config) InitDefaults ¶ added in v2.14.2
InitDefaults must populate HTTP values using given HTTP source. Must return error if HTTP is not valid.
Click to show internal directories.
Click to hide internal directories.