models

package
v1.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: GPL-3.0 Imports: 2 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
	Ftp     string
	Ssh     string
	Mysql   string
	Smtp    string
	Pop     string
	Irc     string
}

Homargs holds data to be sent to the home page

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{}
	WhoisInfo           template.HTML
}

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"`
	RedirectPath string  `json:"redirectpath"`
}

Urls holds data to be sent to the consumer api endpoint

Jump to

Keyboard shortcuts

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