Init commit
This commit is contained in:
12
config/config.go
Normal file
12
config/config.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user