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

refactor protos

This commit is contained in:
Darien Raymond
2016-10-12 18:43:55 +02:00
parent c1f91567ad
commit fc6a706166
44 changed files with 331 additions and 313 deletions

View File

@@ -37,10 +37,10 @@ func TestDnsAdd(t *testing.T) {
domain := "local.v2ray.com"
server := NewCacheServer(space, &Config{
NameServers: []*v2net.DestinationPB{{
NameServers: []*v2net.Endpoint{{
Network: v2net.Network_UDP,
Address: &v2net.AddressPB{
Address: &v2net.AddressPB_Ip{
Address: &v2net.IPOrDomain{
Address: &v2net.IPOrDomain_Ip{
Ip: []byte{8, 8, 8, 8},
},
},