Commit graph

3 commits

Author SHA1 Message Date
00faf66d86 Supersede InterfaceInfoList's Item method with InterfaceInfo
Rather than repetitively calling Info method to calculate InterfaceInfo
struct address and return it one by one, a more effective method called
InterfaceInfo was introduced. The later returns all interface infos as
a Go slice.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-26 07:48:38 +02:00
906bb6bf8d Revise InterfaceInfoList's Item() method
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-24 09:21:18 +02:00
8438e80891 Initial version
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 09:42:50 +02:00