nmap

package
v0.0.0-...-841a708 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debugging

type Debugging struct {
	Id    int64
	RunId int64
}

func (Debugging) TableName

func (d Debugging) TableName() string

type FinishedStat

type FinishedStat struct {
	Id      int64
	RunId   int64
	Elapsed int64
	Time    int64
	TimeStr string
	Summary string
	Exit    string
}

func (FinishedStat) TableName

func (f FinishedStat) TableName() string

type Host

type Host struct {
	Id        int64
	RunId     int64
	EndTime   int64
	StartTime int64
	Status    HostStatus
	Address   HostAddress
}

func (Host) TableName

func (h Host) TableName() string

type HostAddress

type HostAddress struct {
	Id       int64
	RunId    int64
	HostId   int64
	AddrType string
	Addr     string
}

func (HostAddress) TableName

func (h HostAddress) TableName() string

type HostName

type HostName struct {
	Id     int64
	RunId  int64
	HostId int64
	Name   string
	Type   string
}

func (HostName) TableName

func (h HostName) TableName() string

type HostPort

type HostPort struct {
	Id       int64
	RunId    int64
	HostId   int64
	PortId   int64
	Protocol string
	Service  PortService `gorm:"foreignkey:PortId"`
	State    PortState   `gorm:"foreignkey:PortId"`
}

func (HostPort) TableName

func (h HostPort) TableName() string

type HostStat

type HostStat struct {
	Id    int64
	RunId int64
	Up    int64
	Down  int64
	Total int64
}

func (HostStat) TableName

func (h HostStat) TableName() string

type HostStatus

type HostStatus struct {
	Id        int64
	RunId     int64
	HostId    int64
	ReasonTTL int64
	State     string
	Reason    string
	ExtraInfo string
}

func (HostStatus) TableName

func (h HostStatus) TableName() string

type HostTime

type HostTime struct {
	Id     int64
	RunId  int64
	HostId int64
	To     int64
	SRTT   int64
	RTTVAR int64
}

func (HostTime) TableName

func (h HostTime) TableName() string

type JsonNullInt64

type JsonNullInt64 struct {
	sql.NullInt64
}

func (JsonNullInt64) MarshalJSON

func (v JsonNullInt64) MarshalJSON() ([]byte, error)

func (*JsonNullInt64) UnmarshalJSON

func (v *JsonNullInt64) UnmarshalJSON(data []byte) error

type JsonNullString

type JsonNullString struct {
	sql.NullString
}

func (JsonNullString) MarshalJSON

func (v JsonNullString) MarshalJSON() ([]byte, error)

func (*JsonNullString) UnmarshalJSON

func (v *JsonNullString) UnmarshalJSON(data []byte) error

type PortService

type PortService struct {
	Id     int64
	RunId  int64
	PortId int64
	Conf   int64
	Name   string
	Method string
}

func (PortService) TableName

func (p PortService) TableName() string

type PortState

type PortState struct {
	Id        int64
	RunId     int64
	PortId    int64
	State     string
	Reason    string
	ReasonTTL string
}

func (PortState) TableName

func (p PortState) TableName() string

type Run

type Run struct {
	Id               int64
	Start            float64
	Version          float64
	XmlOutputVersion float64
	Args             string
	StartStr         string
	Scanner          string
	ScanInfo         ScanInfo
	Verbose          Verbose `gorm:"foreignkey:RunId"`
	Debugging        Debugging
	FinishedStat     FinishedStat
	HostStat         HostStat
}

func (Run) TableName

func (r Run) TableName() string

type ScanInfo

type ScanInfo struct {
	Id          int64
	RunId       int64
	NumServices int64
	Type        string
	Protocol    string
	Services    string
}

func (ScanInfo) TableName

func (s ScanInfo) TableName() string

type Task

type Task struct {
	Id        int64
	RunId     int64
	Time      int64
	Task      string
	Type      string
	ExtraInfo string
}

func (Task) TableName

func (t Task) TableName() string

type Verbose

type Verbose struct {
	Id    int64
	RunId int64
}

func (Verbose) TableName

func (v Verbose) TableName() string

Jump to

Keyboard shortcuts

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