Open kwanhur opened 4 years ago
fetch ipvs info with API info := i.GetInfo()
info := i.GetInfo()
fetch version number just call info.Version.String(), example: 1.2.1 fetch connection table size call info.ConnTableSize, example: 4096 .
info.Version.String()
info.ConnTableSize
@andrewsykim @cpuguy83 add two api GetVersion GetConnectionTableSize, review them pls :-)
GetVersion
GetConnectionTableSize
fetch ipvs info with API
info := i.GetInfo()
fetch version number just call
info.Version.String()
, example: 1.2.1 fetch connection table size callinfo.ConnTableSize
, example: 4096 .