This commit is contained in:
2023-09-12 18:40:24 +08:00
commit d894fea89e
25 changed files with 2179 additions and 0 deletions

16
config/config.go Normal file
View File

@ -0,0 +1,16 @@
package config
type Config struct {
Port int //TODO: 使用自定义端口
MetaTemplate string
ClashTemplate string
}
var Default *Config
func init() {
Default = &Config{
MetaTemplate: "template-meta.yaml",
ClashTemplate: "template-clash.yaml",
}
}