Inbound rule support

This commit is contained in:
世界 committed 2022-07-02 14:07:50 +08:00
1 parent 9f4c0ff624
commit 7c57eb70e8
34 files changed
+622 -247

No files matched your search

+14
View 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"`
}