github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/option/v2ray.go (about)

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