diff options
Diffstat (limited to 'netaddr.go')
-rw-r--r-- | netaddr.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,3 +14,5 @@ func NewAddrFromIPPortString(addr string) (res NetAddr) { } func (self NetAddr) Free() { C.netaddr_free(self) } + +func (self NetAddr) IsEq(other NetAddr) bool { return bool(C.netaddr_is_eq(self, other)) } |