1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-27 04:25:44 -05:00

accommodate protobuf compiler change

This commit is contained in:
Darien Raymond
2016-12-23 12:42:25 +01:00
parent d9196b4217
commit a4dfca0ef7
33 changed files with 679 additions and 80 deletions

View File

@@ -50,6 +50,13 @@ func (m *Config) GetAddress() *v2ray_core_common_net.IPOrDomain {
return nil
}
func (m *Config) GetPort() uint32 {
if m != nil {
return m.Port
}
return 0
}
func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList {
if m != nil {
return m.NetworkList
@@ -57,6 +64,20 @@ func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList {
return nil
}
func (m *Config) GetTimeout() uint32 {
if m != nil {
return m.Timeout
}
return 0
}
func (m *Config) GetFollowRedirect() bool {
if m != nil {
return m.FollowRedirect
}
return false
}
func init() {
proto.RegisterType((*Config)(nil), "v2ray.core.proxy.dokodemo.Config")
}