addr

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressToString

func AddressToString(addr *pb.TcpAddress) string

func AddressesToString

func AddressesToString(addrs []pb.TcpAddress) string

func DiffAddresses

func DiffAddresses(oldAddrs []pb.TcpAddress, newAddrs []pb.TcpAddress) ([]pb.TcpAddress, []pb.TcpAddress)

func IPToString

func IPToString(ip *pb.IPAddress) string

func IPV4

func IPV4(a1, a2, a3, a4 uint8) *pb.IPAddress

func ParseIPV4

func ParseIPV4(ip string) (*pb.IPAddress, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳