func NewData() *Data { d := &Data{ Target: common.NewTarget(), MappedNetworks: make(map[string]string), MappedNetworksGateways: make(map[string]net.IPNet), MappedNetworksIPRanges: make(map[string][]ip.Range), MappedNetworksDNS: make(map[string][]net.IP), } return d }
func NewUI() *Plugin { p := &Plugin{Target: common.NewTarget()} return p }