mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
14 lines
428 B
Go
14 lines
428 B
Go
|
package schema
|
||
|
|
||
|
// ServerConfiguration represents the configuration of the http server.
|
||
|
type ServerConfiguration struct {
|
||
|
ReadBufferSize int `mapstructure:"read_buffer_size"`
|
||
|
WriteBufferSize int `mapstructure:"write_buffer_size"`
|
||
|
}
|
||
|
|
||
|
// DefaultServerConfiguration represents the default values of the ServerConfiguration.
|
||
|
var DefaultServerConfiguration = ServerConfiguration{
|
||
|
ReadBufferSize: 4096,
|
||
|
WriteBufferSize: 4096,
|
||
|
}
|