example

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

README

Example

The go-code found here is a 'skeleton'-code to be used for adding new APIs. Just do the tasks marked with TODO in the code.

Additionally you just have to complete the following steps:

  1. Create a SQL-Table for your API in the Database
  2. Add your new api in the import-section of the manager.go-file
  3. Add your default Config to defaultConfig.json

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Retries       int
	ScanType      int
	ParallelScans int
}

Config contains the configurable Values for this scan

type TableRow

type TableRow struct {
	// TableRows
	ScanStatus int
}

TableRow represents the scan results for the crawler table

Jump to

Keyboard shortcuts

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