models

package
v0.0.0-...-372dd14 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Incident

type Incident struct {
	gorm.Model
	Name            string    `json:"Name"`
	IncidentTime    time.Time `json:"IncidentTime"`
	ImportanceLevel int       `json:"ImportanceLevel"`
	Description     string    `json:"Description"`
	Repetition      int       `json:"Repetition"`
	Prevention      string    `json:"Prevention"`
	Processed       int8      `gorm:"default:0" json:"Processed"`
	CauseType       string    `json:"CauseType"`
	SrcIP           string    `json:"SrcIP"`
	SrcMac          string    `json:"SrcMac"`
}

Jump to

Keyboard shortcuts

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