You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/proxy/dokodemo/config.go

14 lines
201 B

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
}