baseplugin

package
v0.0.0-...-8cab9b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPlugin

func LoadPlugin() ([]string, gomapperplugins.PluginInterface, error)

Types

type BasePlugin

type BasePlugin struct{}

func (BasePlugin) DiscoverNetworks

func (p BasePlugin) DiscoverNetworks(conf map[string]interface{}) (networks []string, err error)

func (BasePlugin) HandleScanRequest

func (p BasePlugin) HandleScanRequest(conf map[string]interface{}, input *formats.ReqInput) (response interface{}, dbEntry formats.DbNetwork)

func (BasePlugin) ScanNetwork

func (p BasePlugin) ScanNetwork(conf map[string]interface{}, network string) (dbEntry formats.DbNetwork, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL