Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeHTTPS ¶
Types ¶
type Config ¶
type Config struct { Port int `yaml:"port"` ReadTimeout int `yaml:"read_timeout"` WriteTimeout int `yaml:"write_timeout"` MaxHeaderByte int `yaml:"max_header_byte"` Environment string `yaml:"environment"` Handler http.Handler CertFile string KeyFile string EncryptionKey string `yaml:"encryption_key"` Ctx context.Context }
Click to show internal directories.
Click to hide internal directories.