1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-01 06:55:25 -05:00

protobuf for dokodemo config

This commit is contained in:
Darien Raymond
2016-09-22 16:49:20 +02:00
parent 88ae8248a5
commit 60f4292882
7 changed files with 128 additions and 21 deletions

View File

@@ -4,10 +4,6 @@ import (
v2net "v2ray.com/core/common/net"
)
type Config struct {
FollowRedirect bool
Address v2net.Address
Port v2net.Port
Network *v2net.NetworkList
Timeout uint32
func (this *Config) GetPredefinedAddress() v2net.Address {
return this.Address.AsAddress()
}