Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)
Functions ¶
func Addresses ¶
Addresses returns a new slice with all the passed peer addresses normalized with the given default port, and all duplicates removed.
func RemoveDuplicateAddresses ¶
RemoveDuplicateAddresses returns a new slice with all duplicate entries in addrs removed.
func StringSliceAddresses ¶
StringSliceAddresses normalizes a slice of addresses
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.