mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
mux io
This commit is contained in:
@@ -49,6 +49,12 @@ func (v *DestinationSubject) EqualsString(another string) {
|
||||
}
|
||||
}
|
||||
|
||||
func (v *DestinationSubject) Equals(another net.Destination) {
|
||||
if v.value != another {
|
||||
v.Fail("not equals to", another.String())
|
||||
}
|
||||
}
|
||||
|
||||
func (v *DestinationSubject) HasAddress() *AddressSubject {
|
||||
return v.a.Address(v.value.Address)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user