github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/subscription/specs/skeleton.go (about) 1 package specs 2 3 import ( 4 "encoding/json" 5 ) 6 7 type OutboundConfig struct { 8 Protocol string `json:"protocol"` 9 Settings json.RawMessage `json:"settings"` 10 StreamSetting *StreamConfig `json:"streamSettings"` 11 Metadata map[string]string `json:"metadata"` 12 } 13 14 type StreamConfig struct { 15 Transport string `json:"transport"` 16 TransportSettings json.RawMessage `json:"transportSettings"` 17 Security string `json:"security"` 18 SecuritySettings json.RawMessage `json:"securitySettings"` 19 }