Init commit

This commit is contained in:
世界
2022-06-30 21:27:56 +08:00
commit 60691819b1
39 changed files with 2202 additions and 0 deletions

12
config/config.go Normal file
View File

@@ -0,0 +1,12 @@
package config
type Config struct {
Log *LogConfig `json:"log"`
Inbounds []Inbound `json:"inbounds,omitempty"`
Outbounds []Outbound `json:"outbounds,omitempty"`
Routes []Route `json:"routes,omitempty"`
}
type LogConfig struct {
Level string `json:"level,omitempty"`
}