mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 16:15:39 +08:00
14 lines
402 B
Go
14 lines
402 B
Go
|
package option
|
||
|
|
||
|
type V2RayAPIOptions struct {
|
||
|
Listen string `json:"listen,omitempty"`
|
||
|
Stats *V2RayStatsServiceOptions `json:"stats,omitempty"`
|
||
|
}
|
||
|
|
||
|
type V2RayStatsServiceOptions struct {
|
||
|
Enabled bool `json:"enabled,omitempty"`
|
||
|
DirectIO bool `json:"direct_io,omitempty"`
|
||
|
Inbounds []string `json:"inbounds,omitempty"`
|
||
|
Outbounds []string `json:"outbounds,omitempty"`
|
||
|
}
|