1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 02:35:23 +00:00
v2fly/proxy/dokodemo/config.go

14 lines
207 B
Go
Raw Normal View History

2015-12-06 17:21:15 +00:00
package dokodemo
import (
2016-08-20 18:55:45 +00:00
v2net "v2ray.com/core/common/net"
2015-12-06 17:21:15 +00:00
)
2016-09-22 14:49:20 +00:00
func (this *Config) GetPredefinedAddress() v2net.Address {
2016-09-24 21:36:26 +00:00
addr := this.Address.AsAddress()
if addr == nil {
return nil
}
return addr
2015-12-06 17:21:15 +00:00
}