config for scheme and subrouter
This commit is contained in:
@@ -35,7 +35,7 @@ type YamlConfig struct {
|
||||
IPv4 string `yaml:"ipv4"`
|
||||
IPv6 string `yaml:"ipv6"`
|
||||
Port uint16 `yaml:"port"`
|
||||
Schema string `yaml:"schema"`
|
||||
Scheme string `yaml:"scheme"`
|
||||
CaFile string `yaml:"caFile"`
|
||||
CertFile string `yaml:"certFile"`
|
||||
KeyFile string `yaml:"keyFile"`
|
||||
@@ -46,7 +46,7 @@ type YamlConfig struct {
|
||||
RootDir string `yaml:"rootDir"`
|
||||
Listen []struct {
|
||||
Addr string `yaml:"addr"`
|
||||
Schema string `yaml:"schema"`
|
||||
Scheme string `yaml:"scheme"`
|
||||
CaFile string `yaml:"caFile"`
|
||||
CertFile string `yaml:"certFile"`
|
||||
KeyFile string `yaml:"keyFile"`
|
||||
|
||||
Reference in New Issue
Block a user