mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 20:53:18 +08:00
init
This commit is contained in:
16
config/config.go
Normal file
16
config/config.go
Normal 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",
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user