Inbound rule support
This commit is contained in:
14
option/config.go
Normal file
14
option/config.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package option
|
||||
|
||||
type Options struct {
|
||||
Log *LogOption `json:"log"`
|
||||
Inbounds []Inbound `json:"inbounds,omitempty"`
|
||||
Outbounds []Outbound `json:"outbounds,omitempty"`
|
||||
Routes []Rule `json:"routes,omitempty"`
|
||||
}
|
||||
|
||||
type LogOption struct {
|
||||
Disabled bool `json:"disabled,omitempty"`
|
||||
Level string `json:"level,omitempty"`
|
||||
Output string `json:"output,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user