1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
v2fly/proxy/dokodemo/config.go
2016-11-27 21:39:09 +01:00

14 lines
201 B
Go

package dokodemo
import (
v2net "v2ray.com/core/common/net"
)
func (v *Config) GetPredefinedAddress() v2net.Address {
addr := v.Address.AsAddress()
if addr == nil {
return nil
}
return addr
}