mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 21:44:41 -05:00
17 lines
272 B
Go
17 lines
272 B
Go
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",
|
|
}
|
|
}
|