Beispiel #1
0
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
}
Beispiel #2
0
Datei: ui.go Projekt: kjplatz/vic
func NewUI() *Plugin {
	p := &Plugin{Target: common.NewTarget()}
	return p
}