add bufferSize config

This commit is contained in:
WJQSERVER 2025-01-18 08:49:19 +08:00
parent 304c1cc184
commit 18000b94fb
3 changed files with 10 additions and 8 deletions

View file

@ -16,11 +16,12 @@ type Config struct {
}
type ServerConfig struct {
Port int `toml:"port"`
Host string `toml:"host"`
SizeLimit int `toml:"sizeLimit"`
EnableH2C string `toml:"enableH2C"`
Debug bool `toml:"debug"`
Port int `toml:"port"`
Host string `toml:"host"`
SizeLimit int `toml:"sizeLimit"`
EnableH2C string `toml:"enableH2C"`
BufferSize int `toml:"bufferSize"`
Debug bool `toml:"debug"`
}
type PagesConfig struct {