🎇 add local config

This commit is contained in:
微凉
2021-12-20 23:56:17 +08:00
parent 337bf08cd3
commit 1485ab2677
4 changed files with 17 additions and 7 deletions

View File

@ -17,6 +17,7 @@ type Config struct {
Https bool `json:"https"`
CertFile string `json:"cert_file"`
KeyFile string `json:"key_file"`
Local bool `json:"local"`
}
func DefaultConfig() *Config {