models

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllUrls

type AllUrls struct {
	Urls []*Url
}

type HomeArgs

type HomeArgs struct {
	Ipv4    string
	Ipv6    string
	Host    shodan.Response
	Headers map[string]interface{}
	Mx      map[string]uint16
	SSLInfo []map[string]interface{}
	Ftp     string
	Ssh     string
	Mysql   string
	Smtp    string
	Pop     string
	Irc     string
}

type TemplateData

type TemplateData struct {
	StringMap           map[string]string
	IntMap              map[string]int
	FloatMap            map[string]float32
	Data                map[string]interface{}
	HeadersMap          map[string]interface{}
	FtpBannerGrabberMap map[string]interface{}
	SSLInfo             []map[string]interface{}
	CSRFToken           string
	Flash               string
	Warning             string
	Error               string
}

Template data holds data sent from handlers to templates

type Url

type Url struct {
	Id       int     `json:"id"`
	Path     string  `json:"path"`
	Status   float64 `json:"status"`
	Progress float32 `json:"progress"`
	Data     string  `json:"data"`
}

Jump to

Keyboard shortcuts

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