v2ray.go 398 B

12345678910111213
  1. package option
  2. type V2RayAPIOptions struct {
  3. Listen string `json:"listen,omitempty"`
  4. Stats *V2RayStatsServiceOptions `json:"stats,omitempty"`
  5. }
  6. type V2RayStatsServiceOptions struct {
  7. Enabled bool `json:"enabled,omitempty"`
  8. Inbounds []string `json:"inbounds,omitempty"`
  9. Outbounds []string `json:"outbounds,omitempty"`
  10. Users []string `json:"users,omitempty"`
  11. }