mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 09:42:21 +08:00
15 lines
392 B
Go
15 lines
392 B
Go
package option
|
|
|
|
type Options struct {
|
|
Log *LogOption `json:"log"`
|
|
Inbounds []Inbound `json:"inbounds,omitempty"`
|
|
Outbounds []Outbound `json:"outbounds,omitempty"`
|
|
Route *RouteOptions `json:"route,omitempty"`
|
|
}
|
|
|
|
type LogOption struct {
|
|
Disabled bool `json:"disabled,omitempty"`
|
|
Level string `json:"level,omitempty"`
|
|
Output string `json:"output,omitempty"`
|
|
}
|