mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 08:56:49 -05:00
20 lines
545 B
Go
20 lines
545 B
Go
|
package specs
|
||
|
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
)
|
||
|
|
||
|
type OutboundConfig struct {
|
||
|
Protocol string `json:"protocol"`
|
||
|
Settings json.RawMessage `json:"settings"`
|
||
|
StreamSetting *StreamConfig `json:"streamSettings"`
|
||
|
Metadata map[string]string `json:"metadata"`
|
||
|
}
|
||
|
|
||
|
type StreamConfig struct {
|
||
|
Transport string `json:"transport"`
|
||
|
TransportSettings json.RawMessage `json:"transportSettings"`
|
||
|
Security string `json:"security"`
|
||
|
SecuritySettings json.RawMessage `json:"securitySettings"`
|
||
|
}
|