mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 01:51:29 +00:00
13 lines
353 B
Go
13 lines
353 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"`
|
|
Inbounds []string `json:"inbounds,omitempty"`
|
|
Outbounds []string `json:"outbounds,omitempty"`
|
|
}
|