Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Banner ¶
type Banner struct {
Enable bool `yaml:"enable"`
Type string `yaml:"type"`
File string `yaml:"file"`
Text string `yaml:"text"`
}
Banner Config Banner
type Config ¶
type Config struct {
Server *Server `yaml:"server"`
Banner *Banner `yaml:"banner"`
Template *Template `yaml:"template"`
}
Config struct
type Server ¶
type Server struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
TLS *TLS `yaml:"tls"`
MaxHeaderSize int `yaml:"max_header_size"`
ReadTimeout time.Duration `yaml:"read_timeout"`
ReadHeaderTimeout time.Duration `yaml:"read_header_timeout"`
WriteTimeout time.Duration `yaml:"write_timeout"`
IdleTimeout time.Duration `yaml:"idle_timeout"`
}
Server Config Server
Click to show internal directories.
Click to hide internal directories.