mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-31 22:45:39 -05:00
protobuf for dokodemo config
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user