Documentation ¶
Index ¶
- type Config
- func (c *Config) Apply() error
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetTransportSettings() []*internet.TransportConfig
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.0.0
type Config struct { TransportSettings []*internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Global transport settings. This affects all type of connections that go through V2Ray. Deprecated. Use each settings in StreamConfig.
func (*Config) Descriptor ¶ added in v1.0.0
func (*Config) GetTransportSettings ¶ added in v1.0.0
func (m *Config) GetTransportSettings() []*internet.TransportConfig
func (*Config) ProtoMessage ¶ added in v1.0.0
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.